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
This commit is contained in:
Holger Hans Peter Freyther 2011-08-22 15:31:17 +02:00
parent 924b04072f
commit c2c0ad7832
1 changed files with 2 additions and 2 deletions

View File

@ -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 {