diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2023-06-01 19:03:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-01 19:03:24 +0300 |
commit | 5cbd1f2960662c18b1d2b2dac7352f2b5b1ba776 (patch) | |
tree | 63307cd7675c80b74206b58bee4f6b410bbe346b /hiredis.c | |
parent | af144563835849350015113e936e44bf2d44906a (diff) |
Add -Werror as a default. (#1193)
Diffstat (limited to 'hiredis.c')
-rw-r--r-- | hiredis.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -392,12 +392,12 @@ int redisvFormatCommand(char **target, const char *format, va_list ap) { while (*_p != '\0' && strchr(flags,*_p) != NULL) _p++; /* Field width */ - while (*_p != '\0' && isdigit(*_p)) _p++; + while (*_p != '\0' && isdigit((int) *_p)) _p++; /* Precision */ if (*_p == '.') { _p++; - while (*_p != '\0' && isdigit(*_p)) _p++; + while (*_p != '\0' && isdigit((int) *_p)) _p++; } /* Copy va_list before consuming with va_arg */ |