From: Guido van Rossum Date: Tue, 28 Mar 2000 02:00:29 +0000 (+0000) Subject: Typo fixed by Mark Hammond. X-Git-Tag: v1.6a1~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50fbb15b16a0a975537a1b5ffbe1cb464fdd062d;p=python Typo fixed by Mark Hammond. --- diff --git a/Python/getargs.c b/Python/getargs.c index a4b0fe4c8d..27a69d0595 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -670,7 +670,7 @@ convertsimple1(arg, p_format, p_va) /* Get 's' parameter: the output buffer to use */ if (*format != 's') - return "(unkown parser marker combination)"; + return "(unknown parser marker combination)"; buffer = (char **)va_arg(*p_va, char **); format++; if (buffer == NULL) @@ -756,7 +756,7 @@ convertsimple1(arg, p_format, p_va) after usage */ - if (strlen(PyString_AS_STRING(s)) != size) + if ((int)strlen(PyString_AS_STRING(s)) != size) return "(encoded string without "\ "NULL bytes)"; *buffer = PyMem_NEW(char, size + 1);