[Telepathy-commits] [telepathy-gabble/master] GabbleMediaChannel: use unsigned for boolean bitfields
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Oct 15 02:36:34 PDT 2008
---
src/media-channel.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/media-channel.c b/src/media-channel.c
index 3dc3d51..eb0f170 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -141,8 +141,9 @@ struct _GabbleMediaChannelPrivate
TpLocalHoldState hold_state;
TpLocalHoldStateReason hold_state_reason;
- gboolean closed:1;
- gboolean dispose_has_run:1;
+ /* These are really booleans, but gboolean is signed. Thanks, GLib */
+ unsigned closed:1;
+ unsigned dispose_has_run:1;
};
#define GABBLE_MEDIA_CHANNEL_GET_PRIVATE(obj) (obj->priv)
--
1.5.6.5
More information about the Telepathy-commits
mailing list