turn this into a GType, so negating it works on 64bit platforms.
authorTim Janik <timj@gtk.org>
Fri, 4 Jan 2002 03:38:53 +0000 (03:38 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 4 Jan 2002 03:38:53 +0000 (03:38 +0000)
Fri Jan  4 04:36:46 2002  Tim Janik  <timj@gtk.org>

        * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): turn this into a GType,
        so negating it works on 64bit platforms.

gobject/ChangeLog
gobject/gtype.h

index dc50a19b298e1169c4559624c49583d128f93255..6305852ea32db5552499cf57076f425d8190dc1c 100644 (file)
@@ -1,3 +1,8 @@
+Fri Jan  4 04:36:46 2002  Tim Janik  <timj@gtk.org>
+
+       * 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  <tml@iki.fi>
 
        * gobject.def: Add g_signal_get_invocation_hint.
index 77e3e5eb089721ab8cdc0a05bfa16dbeeb705e54..c3d23573b2c6cc1ee6d77454971cdb7e414795fa 100644 (file)
@@ -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