1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Add missing casts to unsigned char in recently-added isspace() calls.

This commit is contained in:
Tom Lane
2004-04-01 22:51:31 +00:00
parent 7df21fe8a8
commit b3fcc816ae
3 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/adt/numutils.c,v 1.62 2004/03/11 02:11:13 neilc Exp $
* $PostgreSQL: pgsql/src/backend/utils/adt/numutils.c,v 1.63 2004/04/01 22:51:31 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -88,7 +88,7 @@ pg_atoi(char *s, int size, int c)
* Skip any trailing whitespace; if anything but whitespace
* remains before the terminating character, bail out
*/
while (*badp != c && isspace(*badp))
while (*badp != c && isspace((unsigned char) *badp))
badp++;
if (*badp != c)