aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-08-22 15:31:17 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-08-22 15:31:17 +0200
commitc2c0ad78325196b883a8c2f76a0332a6f8f2d9bd (patch)
treeb9aee15e8c6941919da90c98e1788a2a4d243f80
parent924b04072f7325af28b287fe027214a0ac52105d (diff)
signal: Fix compiler warning about signedness of constant0.3.7
Use the u suffix to mark the constant as unsiged integer. This fixes: warning: this decimal constant is unsigned only in ISO C90
-rw-r--r--include/osmocom/core/signal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/osmocom/core/signal.h b/include/osmocom/core/signal.h
index 097aa193..07d0e6fb 100644
--- a/include/osmocom/core/signal.h
+++ b/include/osmocom/core/signal.h
@@ -12,7 +12,7 @@
* libraries: from 0 to UINT_MAX/2 for applications, from UINT_MAX/2 to
* UINT_MAX for libraries. */
#define OSMO_SIGNAL_SS_APPS 0
-#define OSMO_SIGNAL_SS_RESERVED 2147483648
+#define OSMO_SIGNAL_SS_RESERVED 2147483648u
/*! \brief signal subsystems */
enum {
@@ -22,7 +22,7 @@ enum {
/* application-defined signal types. */
#define OSMO_SIGNAL_T_APPS 0
-#define OSMO_SIGNAL_T_RESERVED 2147483648
+#define OSMO_SIGNAL_T_RESERVED 2147483648u
/*! \brief signal types. */
enum {