diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2021-11-29 10:14:23 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2021-11-29 10:14:23 +0100 |
commit | 93fe40c5a74d81a87cc8df3660d3fb56b5356ded (patch) | |
tree | c41be3e2dc3a4d31299fb642f4ddc12088ec9521 /src/util | |
parent | a467ba6a541048d53f77d7e74fd439fac6c5ed31 (diff) |
fixed signednes issue
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/extension_age_restriction.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/extension_age_restriction.c b/src/util/extension_age_restriction.c index 6bbfde04c..9c2ff7397 100644 --- a/src/util/extension_age_restriction.c +++ b/src/util/extension_age_restriction.c @@ -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; } |