aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/nodes')
-rw-r--r--src/backend/nodes/outfuncs.c6
-rw-r--r--src/backend/nodes/read.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c
index 7c461779259..e2c60c8cfea 100644
--- a/src/backend/nodes/outfuncs.c
+++ b/src/backend/nodes/outfuncs.c
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.117 2000/05/29 05:44:47 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.118 2000/06/14 18:17:32 petere Exp $
*
* NOTES
* Every (plan) node in POSTGRES has an associated "out" routine which
@@ -70,8 +70,8 @@ _outToken(StringInfo str, char *s)
if (*s == '<' ||
*s == '\"' ||
*s == '@' ||
- isdigit(*s) ||
- (*s == '-' && isdigit(s[1])))
+ isdigit((int) *s) ||
+ (*s == '-' && isdigit((int) s[1])))
appendStringInfoChar(str, '\\');
while (*s)
{
diff --git a/src/backend/nodes/read.c b/src/backend/nodes/read.c
index 258bb7ed30b..dbfc0926f5e 100644
--- a/src/backend/nodes/read.c
+++ b/src/backend/nodes/read.c
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/nodes/read.c,v 1.22 2000/04/12 17:15:16 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/nodes/read.c,v 1.23 2000/06/14 18:17:32 petere Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
@@ -205,8 +205,8 @@ nodeTokenType(char *token, int length)
numlen = length;
if (*numptr == '+' || *numptr == '-')
numptr++, numlen--;
- if ((numlen > 0 && isdigit(*numptr)) ||
- (numlen > 1 && *numptr == '.' && isdigit(numptr[1])))
+ if ((numlen > 0 && isdigit((int) *numptr)) ||
+ (numlen > 1 && *numptr == '.' && isdigit((int) numptr[1])))
{
/*