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
This commit is contained in:
Denis Kenzior 2011-02-08 10:19:08 -06:00
parent fadbb2456b
commit a8f15c5cf3
1 changed files with 2 additions and 1 deletions

View File

@ -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;