aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/common.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-06-14 18:18:01 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-06-14 18:18:01 +0000
commit44d1abebb48d678ac1b75f6556c68c9634cb235b (patch)
treefe1efd24fb2fa1565bb69533583bda1e94f13a08 /src/bin/pg_dump/common.c
parent4786a808d9f58746ebb77bf78a6ae2d0854cd6b9 (diff)
downloadpostgresql-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/bin/pg_dump/common.c')
-rw-r--r--src/bin/pg_dump/common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pg_dump/common.c b/src/bin/pg_dump/common.c
index bd37ef2a5f5..36653ee0335 100644
--- a/src/bin/pg_dump/common.c
+++ b/src/bin/pg_dump/common.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.42 2000/05/19 23:00:00 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/common.c,v 1.43 2000/06/14 18:17:50 petere Exp $
*
* Modifications - 6/12/96 - dave@bensoft.com - version 1.13.dhb.2
*
@@ -190,7 +190,7 @@ parseNumericArray(const char *str, char **array, int arraysize)
}
else
{
- if (!(isdigit(s) || s == '-') || j >= sizeof(temp) - 1)
+ if (!(isdigit((int) s) || s == '-') || j >= sizeof(temp) - 1)
{
fprintf(stderr, "parseNumericArray: bogus number\n");
exit(2);
@@ -517,12 +517,12 @@ fmtId(const char *rawid, bool force_quotes)
if (!force_quotes)
{
- if (!islower(*rawid))
+ if (!islower((int) *rawid))
force_quotes = true;
else
for (cp = rawid; *cp; cp++)
{
- if (!(islower(*cp) || isdigit(*cp) || (*cp == '_')))
+ if (!(islower((int) *cp) || isdigit((int) *cp) || (*cp == '_')))
{
force_quotes = true;
break;