diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2000-06-14 18:18:01 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2000-06-14 18:18:01 +0000 |
commit | 44d1abebb48d678ac1b75f6556c68c9634cb235b (patch) | |
tree | fe1efd24fb2fa1565bb69533583bda1e94f13a08 /src/backend/parser/parse_node.c | |
parent | 4786a808d9f58746ebb77bf78a6ae2d0854cd6b9 (diff) | |
download | postgresql-44d1abebb48d678ac1b75f6556c68c9634cb235b.tar.gz postgresql-44d1abebb48d678ac1b75f6556c68c9634cb235b.zip |
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.
Diffstat (limited to 'src/backend/parser/parse_node.c')
-rw-r--r-- | src/backend/parser/parse_node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/parser/parse_node.c b/src/backend/parser/parse_node.c index 94293859dba..e23d7930b66 100644 --- a/src/backend/parser/parse_node.c +++ b/src/backend/parser/parse_node.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.41 2000/06/13 07:35:01 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.42 2000/06/14 18:17:36 petere Exp $ * *------------------------------------------------------------------------- */ @@ -520,7 +520,7 @@ fitsInFloat(Value *value) ndigits = 0; for (; *ptr; ptr++) { - if (isdigit(*ptr)) + if (isdigit((int) *ptr)) ndigits++; else if (*ptr == 'e' || *ptr == 'E') break; /* don't count digits in exponent */ |