diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/Zle/computil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/computil.c b/Src/Zle/computil.c index 04b12c3c2..f771357d1 100644 --- a/Src/Zle/computil.c +++ b/Src/Zle/computil.c @@ -821,7 +821,7 @@ parse_cadef(char *nam, char **args) int num = 0; while (*p && idigit(*p)) - num = (num * 10) + ((int) *p++); + num = (num * 10) + (((int) *p++) - '0'); anum = num + 1; } else |