summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ofono.h4
-rw-r--r--src/ssn.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ofono.h b/src/ofono.h
index 41ce011e..4ff4d4fc 100644
--- a/src/ofono.h
+++ b/src/ofono.h
@@ -239,12 +239,12 @@ typedef void (*ofono_ssn_mt_notify_cb)(int index,
unsigned int __ofono_ssn_mo_watch_add(struct ofono_ssn *ssn, int code1,
ofono_ssn_mo_notify_cb cb, void *user,
ofono_destroy_func destroy);
-gboolean __ofono_ssn_mo_watch_remove(struct ofono_ssn *ssn, int id);
+gboolean __ofono_ssn_mo_watch_remove(struct ofono_ssn *ssn, unsigned int id);
unsigned int __ofono_ssn_mt_watch_add(struct ofono_ssn *ssn, int code2,
ofono_ssn_mt_notify_cb cb, void *user,
ofono_destroy_func destroy);
-gboolean __ofono_ssn_mt_watch_remove(struct ofono_ssn *ssn, int id);
+gboolean __ofono_ssn_mt_watch_remove(struct ofono_ssn *ssn, unsigned int id);
#include <ofono/ussd.h>
diff --git a/src/ssn.c b/src/ssn.c
index a90484ea..b886dba8 100644
--- a/src/ssn.c
+++ b/src/ssn.c
@@ -80,7 +80,7 @@ unsigned int __ofono_ssn_mo_watch_add(struct ofono_ssn *ssn, int code1,
return add_ssn_handler(ssn->mo_handler_list, code1, cb, user, destroy);
}
-gboolean __ofono_ssn_mo_watch_remove(struct ofono_ssn *ssn, int id)
+gboolean __ofono_ssn_mo_watch_remove(struct ofono_ssn *ssn, unsigned int id)
{
if (ssn == NULL)
return FALSE;
@@ -102,7 +102,7 @@ unsigned int __ofono_ssn_mt_watch_add(struct ofono_ssn *ssn, int code2,
return add_ssn_handler(ssn->mt_handler_list, code2, cb, user, destroy);
}
-gboolean __ofono_ssn_mt_watch_remove(struct ofono_ssn *ssn, int id)
+gboolean __ofono_ssn_mt_watch_remove(struct ofono_ssn *ssn, unsigned int id)
{
if (ssn == NULL)
return FALSE;