diff Python/getargs.c @ 7982:a909a2869ac5 legacy-trunk

Make new gcc -Wall happy
author Guido van Rossum <guido@python.org>
date Fri, 10 Apr 1998 22:27:42 +0000
parents 0efed4d3323b
children da4bdceeaad7
line wrap: on
line diff
--- a/Python/getargs.c	Fri Apr 10 22:16:39 1998 +0000
+++ b/Python/getargs.c	Fri Apr 10 22:27:42 1998 +0000
@@ -257,7 +257,7 @@
 		}
 	}
 
-	if (*format != '\0' && !isalpha(*format) &&
+	if (*format != '\0' && !isalpha((int)(*format)) &&
 	    *format != '(' &&
 	    *format != '|' && *format != ':' && *format != ';') {
 		PyErr_Format(PyExc_SystemError,