summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-11-03 23:28:50 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-11-03 23:28:50 (GMT)
commitfcd96536675fcf418ed5be2f12429f8da5a89348 (patch)
tree37890bc65daaca751ded44b7e7f36c41105992d7 /Objects/unicodeobject.c
parentfc026c98d82afd4ef2041b5cdca780a47b752821 (diff)
downloadcpython-fcd96536675fcf418ed5be2f12429f8da5a89348.zip
cpython-fcd96536675fcf418ed5be2f12429f8da5a89348.tar.gz
cpython-fcd96536675fcf418ed5be2f12429f8da5a89348.tar.bz2
Fix a compiler warning in unicode_encode_ucs1()
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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;