From a8f15c5cf37fe9996cd8c9b7dba15be9f642cf1d Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 8 Feb 2011 10:19:08 -0600 Subject: [PATCH] sim: Fixup compiler complaints src/sim.c:2396: error: comparison between signed and unsigned integer expressions src/sim.c:2396: error: comparison between signed and unsigned integer expressions --- src/sim.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sim.c b/src/sim.c index 44d16532..c2e86315 100644 --- a/src/sim.c +++ b/src/sim.c @@ -2381,7 +2381,8 @@ void *ofono_sim_get_data(struct ofono_sim *sim) return sim->driver_data; } -ofono_bool_t is_valid_pin(const char *pin, int min, int max) +static ofono_bool_t is_valid_pin(const char *pin, unsigned int min, + unsigned int max) { unsigned int i;