[Telepathy-commits] [telepathy-gabble/master] connection etc.: use GUINT_TO_POINTER for handles
Simon McVittie
simon.mcvittie at collabora.co.uk
Sun Feb 8 05:46:18 PST 2009
---
src/conn-aliasing.c | 2 +-
src/conn-location.c | 2 +-
src/conn-olpc.c | 2 +-
src/connection.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/conn-aliasing.c b/src/conn-aliasing.c
index 6da67cc..242fa63 100644
--- a/src/conn-aliasing.c
+++ b/src/conn-aliasing.c
@@ -913,7 +913,7 @@ maybe_request_vcard (GabbleConnection *self, TpHandle handle,
tp_base_connection_get_handles (base, TP_HANDLE_TYPE_CONTACT);
gabble_do_pep_request (self, handle, contact_handles,
- aliases_request_basic_pep_cb, GINT_TO_POINTER (handle));
+ aliases_request_basic_pep_cb, GUINT_TO_POINTER (handle));
}
else
{
diff --git a/src/conn-location.c b/src/conn-location.c
index 9ba0258..af11ded 100644
--- a/src/conn-location.c
+++ b/src/conn-location.c
@@ -81,7 +81,7 @@ location_get_locations (GabbleSvcConnectionInterfaceLocation *iface,
if (location != NULL)
{
DEBUG (" - %s: cached", jid);
- g_hash_table_insert (return_locations, GINT_TO_POINTER (contact),
+ g_hash_table_insert (return_locations, GUINT_TO_POINTER (contact),
location);
}
else if (!pubsub_query (conn, jid, NS_GEOLOC, pep_reply_cb, NULL))
diff --git a/src/conn-olpc.c b/src/conn-olpc.c
index 0afa161..d2d5e8b 100644
--- a/src/conn-olpc.c
+++ b/src/conn-olpc.c
@@ -1411,7 +1411,7 @@ activity_in_own_set (GabbleConnection *conn,
return FALSE;
activities_set = g_hash_table_lookup (conn->olpc_pep_activities,
- GINT_TO_POINTER (base->self_handle));
+ GUINT_TO_POINTER (base->self_handle));
if (activities_set == NULL ||
!tp_handle_set_is_member (activities_set, room_handle))
diff --git a/src/connection.c b/src/connection.c
index 45a5fdf..8b056bc 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -2677,7 +2677,7 @@ gabble_connection_get_contact_capabilities (
gabble_connection_get_handle_contact_capabilities (self, handle, arr);
- g_hash_table_insert (ret, GINT_TO_POINTER (handle), arr);
+ g_hash_table_insert (ret, GUINT_TO_POINTER (handle), arr);
}
gabble_svc_connection_interface_contact_capabilities_return_from_get_contact_capabilities
--
1.5.6.5
More information about the telepathy-commits
mailing list