[Telepathy-commits] [telepathy-mission-control/master] Squash mismatched signedness warnings
Will Thompson
will.thompson at collabora.co.uk
Tue Dec 2 10:51:00 PST 2008
---
src/mcd-account.c | 4 ++--
src/mcd-dispatcher.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mcd-account.c b/src/mcd-account.c
index c7ae4ca..04697b7 100644
--- a/src/mcd-account.c
+++ b/src/mcd-account.c
@@ -734,13 +734,13 @@ set_automatic_presence (TpSvcDBusProperties *self,
McdAccount *account = MCD_ACCOUNT (self);
McdAccountPrivate *priv = account->priv;
const gchar *status, *message;
- gint type;
+ TpConnectionPresenceType type;
gboolean changed = FALSE;
GValueArray *va;
g_debug ("%s called for %s", G_STRFUNC, priv->unique_name);
va = g_value_get_boxed (value);
- type = (gint)g_value_get_uint (va->values);
+ type = g_value_get_uint (va->values);
status = g_value_get_string (va->values + 1);
message = g_value_get_string (va->values + 2);
g_debug ("setting automatic presence: %d, %s, %s", type, status, message);
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index f2708af..a6424d0 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -2009,7 +2009,7 @@ get_channel_filter_cb (TpProxy *proxy,
{
GList **client_filters = user_data;
GPtrArray *filters = g_value_get_boxed (out_Value);
- int i;
+ guint i;
for (i = 0 ; i < filters->len ; i++)
{
@@ -2892,7 +2892,7 @@ mcd_dispatcher_get_channel_enhanced_capabilities (McdDispatcher * dispatcher)
for (list = client->handler_filters; list != NULL; list = list->next)
{
GHashTable *channel_class = list->data;
- int i;
+ guint i;
gboolean already_in_caps = FALSE;
/* Check if the filter is already in the caps variable */
--
1.5.6.5
More information about the Telepathy-commits
mailing list