From fcd96536675fcf418ed5be2f12429f8da5a89348 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 4 Nov 2011 00:28:50 +0100 Subject: [PATCH] Fix a compiler warning in unicode_encode_ucs1() --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0