From c2c0ad78325196b883a8c2f76a0332a6f8f2d9bd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 22 Aug 2011 15:31:17 +0200 Subject: signal: Fix compiler warning about signedness of constant Use the u suffix to mark the constant as unsiged integer. This fixes: warning: this decimal constant is unsigned only in ISO C90 --- include/osmocom/core/signal.h | 4 ++-- 1 file 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 { -- cgit v1.2.3