diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-04 00:28:50 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-04 00:28:50 +0100 |
commit | fcd96536675fcf418ed5be2f12429f8da5a89348 (patch) | |
tree | 37890bc65daaca751ded44b7e7f36c41105992d7 | |
parent | fc026c98d82afd4ef2041b5cdca780a47b752821 (diff) | |
download | cpython-git-fcd96536675fcf418ed5be2f12429f8da5a89348.tar.gz |
Fix a compiler warning in unicode_encode_ucs1()
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 541ded8bac..e76f06918f 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -6557,7 +6557,7 @@ unicode_encode_call_errorhandler(const char *errors, static PyObject * unicode_encode_ucs1(PyObject *unicode, const char *errors, - int limit) + unsigned int limit) { /* input state */ Py_ssize_t pos=0, size; |