Suppress a warning on NetBSD

MAINT_6_0
Stephane Bortzmeyer 17 years ago
parent 9b25a0ad02
commit 2f01006a35

@ -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;
}

Loading…
Cancel
Save