Commit 3e9273aa authored by Guido van Rossum's avatar Guido van Rossum

Typo fixed by Mark Hammond.

parent 0e12353c
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment