[Telepathy-commits] [telepathy-glib/master] TpChannel: use unsigned for boolean bitfields
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Oct 15 02:41:35 PDT 2008
---
telepathy-glib/channel-internal.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/telepathy-glib/channel-internal.h b/telepathy-glib/channel-internal.h
index 25b4a3d..3a07beb 100644
--- a/telepathy-glib/channel-internal.h
+++ b/telepathy-glib/channel-internal.h
@@ -61,8 +61,9 @@ struct _TpChannelPrivate {
/* guint => guint, NULL if not discovered yet */
GHashTable *group_handle_owners;
- gboolean ready:1;
- gboolean have_group_flags:1;
+ /* These are really booleans, but gboolean is signed. Thanks, GLib */
+ unsigned ready:1;
+ unsigned have_group_flags:1;
};
/* channel.c internals */
--
1.5.6.5
More information about the Telepathy-commits
mailing list