diff --git a/src/bin/pg_resetwal/pg_resetwal.c b/src/bin/pg_resetwal/pg_resetwal.c index c667a11cb6a..07c95f9ab80 100644 --- a/src/bin/pg_resetwal/pg_resetwal.c +++ b/src/bin/pg_resetwal/pg_resetwal.c @@ -1246,7 +1246,7 @@ strtouint32_strict(const char *restrict s, char **restrict endptr, int base) bool is_neg; /* skip leading whitespace */ - while (isspace(*s)) + while (isspace((unsigned char) *s)) s++; /*