summaryrefslogtreecommitdiff
path: root/contrib/dbase
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/dbase')
-rw-r--r--contrib/dbase/dbf2pg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/dbase/dbf2pg.c b/contrib/dbase/dbf2pg.c
index a635e09122..038c2b5aba 100644
--- a/contrib/dbase/dbf2pg.c
+++ b/contrib/dbase/dbf2pg.c
@@ -78,7 +78,7 @@ isinteger(char *buff)
i++;
continue;
}
- if (!isdigit((int) *i))
+ if (!isdigit((unsigned char) *i))
return 0;
i++;
}
@@ -90,7 +90,7 @@ strtoupper(char *string)
{
while (*string != '\0')
{
- *string = toupper(*string);
+ *string = toupper((unsigned char) *string);
string++;
}
}
@@ -100,7 +100,7 @@ strtolower(char *string)
{
while (*string != '\0')
{
- *string = tolower(*string);
+ *string = tolower((unsigned char) *string);
string++;
}
}