summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/gprs.h3
-rw-r--r--src/gprs.c7
2 files changed, 6 insertions, 4 deletions
diff --git a/include/gprs.h b/include/gprs.h
index 5cec510f..72e480e2 100644
--- a/include/gprs.h
+++ b/include/gprs.h
@@ -65,7 +65,8 @@ void ofono_gprs_remove(struct ofono_gprs *gprs);
void ofono_gprs_set_data(struct ofono_gprs *gprs, void *data);
void *ofono_gprs_get_data(struct ofono_gprs *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);
void ofono_gprs_add_context(struct ofono_gprs *gprs,
struct ofono_gprs_context *gc);
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;