From 44d1abebb48d678ac1b75f6556c68c9634cb235b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 14 Jun 2000 18:18:01 +0000 Subject: Big warnings cleanup for Solaris/GCC. Down to about 40 now, but we'll get there one day. Use `cat' to create aclocal.m4, not `aclocal'. Some people don't have automake installed. Only run the autoconf rule in the top-level GNUmakefile if the invoker specified `make configure', don't run it automatically because of CVS timestamp skew. --- src/backend/utils/adt/numeric.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/backend/utils/adt/numeric.c') diff --git a/src/backend/utils/adt/numeric.c b/src/backend/utils/adt/numeric.c index a628e9c8f3a..088897c0682 100644 --- a/src/backend/utils/adt/numeric.c +++ b/src/backend/utils/adt/numeric.c @@ -5,7 +5,7 @@ * * 1998 Jan Wieck * - * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.29 2000/06/13 07:35:07 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.30 2000/06/14 18:17:44 petere Exp $ * * ---------- */ @@ -2084,7 +2084,7 @@ set_var_from_str(char *str, NumericVar *dest) while (*cp) { - if (!isspace(*cp)) + if (!isspace((int) *cp)) break; cp++; } @@ -2113,12 +2113,12 @@ set_var_from_str(char *str, NumericVar *dest) cp++; } - if (!isdigit(*cp)) + if (!isdigit((int) *cp)) elog(ERROR, "Bad numeric input format '%s'", str); while (*cp) { - if (isdigit(*cp)) + if (isdigit((int) *cp)) { dest->digits[i++] = *cp++ - '0'; if (!have_dp) @@ -2161,7 +2161,7 @@ set_var_from_str(char *str, NumericVar *dest) /* Should be nothing left but spaces */ while (*cp) { - if (!isspace(*cp)) + if (!isspace((int) *cp)) elog(ERROR, "Bad numeric input format '%s'", str); cp++; } -- cgit v1.2.3