From 2f01006a356fe477fc04742b345669dbbe0f4e60 Mon Sep 17 00:00:00 2001 From: Stephane Bortzmeyer Date: Sat, 10 Mar 2007 20:42:39 +0000 Subject: [PATCH] Suppress a warning on NetBSD --- SRC/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SRC/util.c b/SRC/util.c index 7f151c3..b06618f 100644 --- a/SRC/util.c +++ b/SRC/util.c @@ -43,7 +43,7 @@ to_upper(char *input) char *result; result = (char *) malloc(strlen(input)); for (c = 0; c < strlen(input); c++) - result[c] = toupper(input[c]); + result[c] = toupper((int)input[c]); result[strlen(input)] = '\0'; return result; }