diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-12-08 11:31:02 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-12-08 11:31:02 +0100 |
commit | 922b19d91e600e53ade553ca66b33cae3157b5b4 (patch) | |
tree | a20bf6f705203dde8d2922b19b36a94ed5378c31 /src | |
parent | 5bead360459435a3aabd403db61105e167b9a081 (diff) | |
download | uGFX-922b19d91e600e53ade553ca66b33cae3157b5b4.tar.gz uGFX-922b19d91e600e53ade553ca66b33cae3157b5b4.tar.bz2 uGFX-922b19d91e600e53ade553ca66b33cae3157b5b4.zip |
using uint32_t instead of unsigned for GEVENT source listener flags
Diffstat (limited to 'src')
-rw-r--r-- | src/gevent/gevent.c | 2 | ||||
-rw-r--r-- | src/gevent/gevent.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gevent/gevent.c b/src/gevent/gevent.c index 46e643e9..86eb23f0 100644 --- a/src/gevent/gevent.c +++ b/src/gevent/gevent.c @@ -71,7 +71,7 @@ void geventListenerInit(GListener *pl) { pl->flags = 0; } -bool_t geventAttachSource(GListener *pl, GSourceHandle gsh, unsigned flags) { +bool_t geventAttachSource(GListener *pl, GSourceHandle gsh, uint32_t flags) { GSourceListener *psl, *pslfree; // Safety first diff --git a/src/gevent/gevent.h b/src/gevent/gevent.h index 31e3e898..27e91d37 100644 --- a/src/gevent/gevent.h +++ b/src/gevent/gevent.h @@ -69,8 +69,8 @@ typedef struct GSource_t GSource, *GSourceHandle; typedef struct GSourceListener_t { GListener *pListener; // The listener GSource *pSource; // The source - unsigned listenflags; // The flags the listener passed when the source was assigned to it. - unsigned srcflags; // For the source's exclusive use. Initialised as 0 for a new listener source assignment. + uint32_t listenflags; // The flags the listener passed when the source was assigned to it. + uint32_t srcflags; // For the source's exclusive use. Initialised as 0 for a new listener source assignment. } GSourceListener; /*===========================================================================*/ @@ -130,7 +130,7 @@ void geventListenerInit(GListener *pl); * * @return TRUE if succeeded, FALSE otherwise */ -bool_t geventAttachSource(GListener *pl, GSourceHandle gsh, unsigned flags); +bool_t geventAttachSource(GListener *pl, GSourceHandle gsh, uint32_t flags); /** * @brief Detach a source from a listener |