From e8ac4e5368f92042f66688daae0b05d826f3d7a8 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 1 Dec 2009 12:17:09 -0600 Subject: Fix: Be more signed/unsigned correct --- src/voicecall.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/voicecall.c b/src/voicecall.c index b8f4aab2..f0cebe6f 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1473,7 +1473,7 @@ void ofono_voicecall_disconnected(struct ofono_voicecall *vc, int id, ofono_debug("Got disconnection event for id: %d, reason: %d", id, reason); - l = g_slist_find_custom(vc->call_list, GINT_TO_POINTER(id), + l = g_slist_find_custom(vc->call_list, GUINT_TO_POINTER(id), call_compare_by_id); if (!l) { @@ -1487,7 +1487,7 @@ void ofono_voicecall_disconnected(struct ofono_voicecall *vc, int id, ts = time(NULL); prev_status = call->call->status; - l = g_slist_find_custom(vc->multiparty_list, GINT_TO_POINTER(id), + l = g_slist_find_custom(vc->multiparty_list, GUINT_TO_POINTER(id), call_compare_by_id); if (l) { @@ -1536,7 +1536,7 @@ void ofono_voicecall_notify(struct ofono_voicecall *vc, ofono_debug("Got a voicecall event, status: %d, id: %u, number: %s", call->status, call->id, call->phone_number.number); - l = g_slist_find_custom(vc->call_list, GINT_TO_POINTER(call->id), + l = g_slist_find_custom(vc->call_list, GUINT_TO_POINTER(call->id), call_compare_by_id); if (l) { -- cgit v1.2.3