diff options
author | Guido van Rossum <guido@python.org> | 2000-03-28 02:00:29 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-03-28 02:00:29 (GMT) |
commit | 50fbb15b16a0a975537a1b5ffbe1cb464fdd062d (patch) | |
tree | 958d7ad5cd8844dfa4a5d2c4e9c0d0d2b753ef1e | |
parent | 1abd82c07dc087e10b7941b02ac34f0ab86cfbca (diff) | |
download | cpython-50fbb15b16a0a975537a1b5ffbe1cb464fdd062d.zip cpython-50fbb15b16a0a975537a1b5ffbe1cb464fdd062d.tar.gz cpython-50fbb15b16a0a975537a1b5ffbe1cb464fdd062d.tar.bz2 |
Typo fixed by Mark Hammond.
-rw-r--r-- | Python/getargs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index a4b0fe4..27a69d0 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); |