From: Tim Janik Date: Fri, 4 Jan 2002 03:38:53 +0000 (+0000) Subject: turn this into a GType, so negating it works on 64bit platforms. X-Git-Tag: GLIB_1_3_13~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=530f899daaed17d4e2a35697dea197451618c7e3;p=platform%2Fupstream%2Fglib.git turn this into a GType, so negating it works on 64bit platforms. Fri Jan 4 04:36:46 2002 Tim Janik * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): turn this into a GType, so negating it works on 64bit platforms. --- diff --git a/gobject/ChangeLog b/gobject/ChangeLog index dc50a19b2..6305852ea 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,8 @@ +Fri Jan 4 04:36:46 2002 Tim Janik + + * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): turn this into a GType, + so negating it works on 64bit platforms. + 2001-12-21 Tor Lillqvist * gobject.def: Add g_signal_get_invocation_hint. diff --git a/gobject/gtype.h b/gobject/gtype.h index 77e3e5eb0..c3d23573b 100644 --- a/gobject/gtype.h +++ b/gobject/gtype.h @@ -372,7 +372,7 @@ G_CONST_RETURN gchar* g_type_name_from_class (GTypeClass *g_class); # define _G_TYPE_CIT(ip, gt) (g_type_check_instance_is_a ((GTypeInstance*) ip, gt)) # define _G_TYPE_CCT(cp, gt) (g_type_check_class_is_a ((GTypeClass*) cp, gt)) #endif /* !__GNUC__ */ -#define G_TYPE_FLAG_RESERVED_ID_BIT (1 << 0) +#define G_TYPE_FLAG_RESERVED_ID_BIT ((GType) (1 << 0)) extern GTypeDebugFlags _g_type_debug_flags; G_END_DECLS