From f79ac9df1b2808a56686dc1b9668c78e1dcac9f5 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 28 Sep 2010 22:43:09 -0500 Subject: ssn: The id is unsigned --- src/ofono.h | 4 ++-- src/ssn.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 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; -- cgit v1.2.3