fixed signednes issue

This commit is contained in:
Özgür Kesim 2021-11-29 10:14:23 +01:00
parent a467ba6a54
commit 93fe40c5a7
Signed by: oec
GPG Key ID: 3D76A56D79EDD9D7

View File

@ -86,7 +86,7 @@ TALER_parse_age_group_string (char *groups,
{
enum TALER_EXTENSION_ReturnValue ret = TALER_EXTENSION_ERROR_SYS;
char *pos;
int prev = -1;
unsigned int prev = 0;
unsigned int val;
char dummy;
@ -128,6 +128,7 @@ TALER_parse_age_group_string (char *groups,
}
prev = val;
*pos = ':';
groups = pos + 1;
}