aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/parser')
-rw-r--r--src/backend/parser/parse_node.c4
-rw-r--r--src/backend/parser/scan.l6
2 files changed, 5 insertions, 5 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 */
diff --git a/src/backend/parser/scan.l b/src/backend/parser/scan.l
index 0d3b07f0bb7..e2649341b73 100644
--- a/src/backend/parser/scan.l
+++ b/src/backend/parser/scan.l
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.71 2000/06/01 22:21:05 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/scan.l,v 1.72 2000/06/14 18:17:37 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -446,8 +446,8 @@ other .
ScanKeyword *keyword;
for(i = 0; yytext[i]; i++)
- if (isascii((unsigned char)yytext[i]) &&
- isupper(yytext[i]))
+ if (isascii((int) yytext[i]) &&
+ isupper((int) yytext[i]))
yytext[i] = tolower(yytext[i]);
if (i >= NAMEDATALEN)
{