summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-12-09 21:01:33 -0600
committerDenis Kenzior <denkenz@gmail.com>2009-12-09 21:02:47 -0600
commit8495e047e68e16143d662d7c9332dc7e546acd83 (patch)
tree30807a70df51b633da71d955d92c5ff5a81503e7 /src
parentb939d5e8d7bad4e01c672504b43ad137fbcba9f0 (diff)
downloadofono-8495e047e68e16143d662d7c9332dc7e546acd83.tar.bz2
Refactor: use unsigned ints for cids
Diffstat (limited to 'src')
-rw-r--r--src/gprs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gprs.c b/src/gprs.c
index 8819ba4d..bcb7a25a 100644
--- a/src/gprs.c
+++ b/src/gprs.c
@@ -71,8 +71,8 @@ struct ofono_gprs {
int technology;
int flags;
int next_context_id;
- int cid_min;
- int cid_max;
+ unsigned int cid_min;
+ unsigned int cid_max;
int netreg_status;
struct ofono_netreg *netreg;
unsigned int netreg_watch;
@@ -1381,7 +1381,8 @@ void ofono_gprs_status_notify(struct ofono_gprs *gprs,
gprs_attached_update(gprs);
}
-void ofono_gprs_set_cid_range(struct ofono_gprs *gprs, int min, int max)
+void ofono_gprs_set_cid_range(struct ofono_gprs *gprs,
+ unsigned int min, unsigned int max)
{
if (gprs == NULL)
return;