summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Kenzior <denis.kenzior@intel.com>2009-12-01 12:17:09 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-12-01 12:42:23 -0600
commite8ac4e5368f92042f66688daae0b05d826f3d7a8 (patch)
tree2b7d232c63c427479ac45c440725b4e46171070b /src
parent55572b6e69ca5b39db5f107fdb60fcb249fc838b (diff)
downloadofono-e8ac4e5368f92042f66688daae0b05d826f3d7a8.tar.bz2
Fix: Be more signed/unsigned correct
Diffstat (limited to 'src')
-rw-r--r--src/voicecall.c6
1 files changed, 3 insertions, 3 deletions
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) {