summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/pg_dump/common.c8
-rw-r--r--src/bin/pg_dump/pg_dump.c6
2 files changed, 7 insertions, 7 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;
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index d8111fd4236..603b0e62263 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -22,7 +22,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.151 2000/06/10 03:53:59 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.152 2000/06/14 18:17:50 petere Exp $
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
@@ -699,8 +699,8 @@ main(int argc, char **argv)
else
{
for (i = 0; tablename[i]; i++)
- if (isascii((unsigned char) tablename[i]) &&
- isupper(tablename[i]))
+ if (isascii((int) tablename[i]) &&
+ isupper((int) tablename[i]))
tablename[i] = tolower(tablename[i]);
}
}