Fix a compiler warning in unicode_encode_ucs1()

This commit is contained in:
Victor Stinner 2011-11-04 00:28:50 +01:00
parent fc026c98d8
commit fcd9653667
1 changed files with 1 additions and 1 deletions

View File

@ -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;