diff options
Diffstat (limited to 'src/backend/utils/adt/float.c')
-rw-r--r-- | src/backend/utils/adt/float.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/utils/adt/float.c b/src/backend/utils/adt/float.c index bdedd83e6e3..d56cf04bf36 100644 --- a/src/backend/utils/adt/float.c +++ b/src/backend/utils/adt/float.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/adt/float.c,v 1.101 2004/03/15 03:29:22 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/utils/adt/float.c,v 1.102 2004/04/01 22:51:31 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -276,7 +276,7 @@ float4in(PG_FUNCTION_ARGS) } /* skip leading whitespace */ - while (*num != '\0' && isspace(*num)) + while (*num != '\0' && isspace((unsigned char) *num)) num++; errno = 0; @@ -319,7 +319,7 @@ float4in(PG_FUNCTION_ARGS) } /* skip trailing whitespace */ - while (*endptr != '\0' && isspace(*endptr)) + while (*endptr != '\0' && isspace((unsigned char) *endptr)) endptr++; /* if there is any junk left at the end of the string, bail out */ @@ -441,7 +441,7 @@ float8in(PG_FUNCTION_ARGS) } /* skip leading whitespace */ - while (*num != '\0' && isspace(*num)) + while (*num != '\0' && isspace((unsigned char) *num)) num++; errno = 0; @@ -484,7 +484,7 @@ float8in(PG_FUNCTION_ARGS) } /* skip trailing whitespace */ - while (*endptr != '\0' && isspace(*endptr)) + while (*endptr != '\0' && isspace((unsigned char) *endptr)) endptr++; /* if there is any junk left at the end of the string, bail out */ |