From: Denis Kenzior Date: Tue, 1 Dec 2009 18:17:09 +0000 (-0600) Subject: Fix: Be more signed/unsigned correct X-Git-Tag: 0.12~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e8ac4e5368f92042f66688daae0b05d826f3d7a8;p=platform%2Fupstream%2Fofono.git Fix: Be more signed/unsigned correct --- diff --git a/src/voicecall.c b/src/voicecall.c index b8f4aab..f0cebe6 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) {