From 82fa2c0069fcd82e2491cfa5bb18f07cc2ef7930 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Mon, 17 Dec 2001 21:59:34 +0000 Subject: [PATCH] Set the reserved bit to (1 << 0) instead of (1 << 30). 2001-12-17 Anders Carlsson * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): Set the reserved bit to (1 << 0) instead of (1 << 30). --- gobject/ChangeLog | 5 +++++ gobject/gtype.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gobject/ChangeLog b/gobject/ChangeLog index f8acf1f0f..40cd87468 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,8 @@ +2001-12-17 Anders Carlsson + + * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): Set the reserved bit + to (1 << 0) instead of (1 << 30). + 2001-12-14 James Henstridge * Makefile.am: add rules to build it. diff --git a/gobject/gtype.h b/gobject/gtype.h index c743a42fd..77e3e5eb0 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 << 30) +#define G_TYPE_FLAG_RESERVED_ID_BIT (1 << 0) extern GTypeDebugFlags _g_type_debug_flags; G_END_DECLS