diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-12-09 21:01:33 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-12-09 21:02:47 -0600 |
commit | 8495e047e68e16143d662d7c9332dc7e546acd83 (patch) | |
tree | 30807a70df51b633da71d955d92c5ff5a81503e7 /src | |
parent | b939d5e8d7bad4e01c672504b43ad137fbcba9f0 (diff) | |
download | ofono-8495e047e68e16143d662d7c9332dc7e546acd83.tar.bz2 |
Refactor: use unsigned ints for cids
Diffstat (limited to 'src')
-rw-r--r-- | src/gprs.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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; |