fixed signednes issue
This commit is contained in:
parent
a467ba6a54
commit
93fe40c5a7
@ -86,7 +86,7 @@ TALER_parse_age_group_string (char *groups,
|
|||||||
{
|
{
|
||||||
enum TALER_EXTENSION_ReturnValue ret = TALER_EXTENSION_ERROR_SYS;
|
enum TALER_EXTENSION_ReturnValue ret = TALER_EXTENSION_ERROR_SYS;
|
||||||
char *pos;
|
char *pos;
|
||||||
int prev = -1;
|
unsigned int prev = 0;
|
||||||
unsigned int val;
|
unsigned int val;
|
||||||
char dummy;
|
char dummy;
|
||||||
|
|
||||||
@ -128,6 +128,7 @@ TALER_parse_age_group_string (char *groups,
|
|||||||
}
|
}
|
||||||
|
|
||||||
prev = val;
|
prev = val;
|
||||||
|
*pos = ':';
|
||||||
groups = pos + 1;
|
groups = pos + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user