diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-06-11 23:43:33 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-06-11 23:45:04 -0500 |
commit | 683b00de1bc7afb80bad8e1ce13269b84247baa5 (patch) | |
tree | 06fc9274d681c85ab1ec23add4a55d1c95f3e4fe /drivers/atmodem | |
parent | 618cebe6c22151c513e5b2bc680fdf411515174c (diff) | |
download | ofono-683b00de1bc7afb80bad8e1ce13269b84247baa5.tar.bz2 |
Fix another pointer cast to use GINT_TO_POINTER
Diffstat (limited to 'drivers/atmodem')
-rw-r--r-- | drivers/atmodem/voicecall.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/atmodem/voicecall.c b/drivers/atmodem/voicecall.c index 956925af..ef569594 100644 --- a/drivers/atmodem/voicecall.c +++ b/drivers/atmodem/voicecall.c @@ -749,7 +749,7 @@ static void ring_notify(GAtResult *result, gpointer user_data) dump_response("ring_notify", TRUE, result); /* RING can repeat, ignore if we already have an incoming call */ - if (g_slist_find_custom(at->voicecall->calls, (gconstpointer)4, + if (g_slist_find_custom(at->voicecall->calls, GINT_TO_POINTER(4), call_compare_by_status)) return; @@ -778,7 +778,7 @@ static void cring_notify(GAtResult *result, gpointer user_data) dump_response("cring_notify", TRUE, result); /* CRING can repeat, ignore if we already have an incoming call */ - if (g_slist_find_custom(at->voicecall->calls, (gconstpointer)4, + if (g_slist_find_custom(at->voicecall->calls, GINT_TO_POINTER(4), call_compare_by_status)) return; @@ -824,7 +824,7 @@ static void clip_notify(GAtResult *result, gpointer user_data) dump_response("clip_notify", TRUE, result); - l = g_slist_find_custom(at->voicecall->calls, (gconstpointer)4, + l = g_slist_find_custom(at->voicecall->calls, GINT_TO_POINTER(4), call_compare_by_status); if (l == NULL) { |