mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Fix minor portability issue in pg_resetwal.c.
The argument of isspace() (like other <ctype.h> functions)
must be cast to unsigned char to ensure portable results.
Per NetBSD buildfarm members. Oversight in 636c1914b.
This commit is contained in:
parent
83a26ba59b
commit
c004d68c93
1 changed files with 1 additions and 1 deletions
|
|
@ -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++;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue