1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-27 23:21:58 +03:00

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.
This commit is contained in:
Peter Eisentraut
2000-06-14 18:18:01 +00:00
parent 4786a808d9
commit 44d1abebb4
35 changed files with 741 additions and 801 deletions

View File

@ -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++;
}