summaryrefslogtreecommitdiff
path: root/contrib/spi/preprocessor/step1.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/spi/preprocessor/step1.c')
-rw-r--r--contrib/spi/preprocessor/step1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/spi/preprocessor/step1.c b/contrib/spi/preprocessor/step1.c
index 1f2c5380d5..8a5379e8e0 100644
--- a/contrib/spi/preprocessor/step1.c
+++ b/contrib/spi/preprocessor/step1.c
@@ -6,7 +6,7 @@ strtoupper(char *string)
int i;
for (i = 0; i < strlen(string); i++)
- string[i] = toupper(string[i]);
+ string[i] = toupper((unsigned char) string[i]);
return string;
}