commit | fcd96536675fcf418ed5be2f12429f8da5a89348 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Fri Nov 04 00:28:50 2011 +0100 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Fri Nov 04 00:28:50 2011 +0100 |
tree | 37890bc65daaca751ded44b7e7f36c41105992d7 | |
parent | fc026c98d82afd4ef2041b5cdca780a47b752821 [diff] |
Fix a compiler warning in unicode_encode_ucs1()
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 541ded8..e76f069 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -6557,7 +6557,7 @@ static PyObject * unicode_encode_ucs1(PyObject *unicode, const char *errors, - int limit) + unsigned int limit) { /* input state */ Py_ssize_t pos=0, size;