summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-09-28 22:43:09 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-09-28 22:43:09 -0500
commitf79ac9df1b2808a56686dc1b9668c78e1dcac9f5 (patch)
tree73b96200cb6743301e21000d6beb24d20e9e26e3 /src
parentbe56f200d80591304807264b1d43ef624790c007 (diff)
downloadofono-f79ac9df1b2808a56686dc1b9668c78e1dcac9f5.tar.bz2
ssn: The id is unsigned
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;