diff options
Diffstat (limited to 'src/util/extension_age_restriction.c')
-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; } |