patch-2.4.19 linux-2.4.19/scripts/split-include.c

Next file: linux-2.4.19/scripts/split-man
Previous file: linux-2.4.19/scripts/patch-kernel
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/scripts/split-include.c linux-2.4.19/scripts/split-include.c
@@ -115,10 +115,10 @@
 
 	/* Make the output file name. */
 	str_config += sizeof("CONFIG_") - 1;
-	for (itarget = 0; !isspace(str_config[itarget]); itarget++)
+	for (itarget = 0; !isspace((int)str_config[itarget]); itarget++)
 	{
 	    char c = str_config[itarget];
-	    if (isupper(c)) c = tolower(c);
+	    if (isupper((int)c)) c = tolower((int)c);
 	    if (c == '_')   c = '/';
 	    ptarget[itarget] = c;
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)