diff --git a/gobject/gparam.c b/gobject/gparam.c index 472ea3d47..f50793ae5 100644 --- a/gobject/gparam.c +++ b/gobject/gparam.c @@ -51,7 +51,7 @@ /* --- defines --- */ #define PARAM_FLOATING_FLAG 0x2 -#define G_PARAM_USER_MASK (~0 << G_PARAM_USER_SHIFT) +#define G_PARAM_USER_MASK (~0U << G_PARAM_USER_SHIFT) #define PSPEC_APPLIES_TO_VALUE(pspec, value) (G_TYPE_CHECK_VALUE_TYPE ((value), G_PARAM_SPEC_VALUE_TYPE (pspec))) /* --- prototypes --- */