Change the loop index in normalizestring() to size_t too, to avoid a
warning on Windows.
This commit is contained in:
parent
a22a0b3e86
commit
338311378e
|
@ -82,7 +82,7 @@ int PyCodec_Register(PyObject *search_function)
|
|||
static
|
||||
PyObject *normalizestring(const char *string)
|
||||
{
|
||||
register int i;
|
||||
register size_t i;
|
||||
size_t len = strlen(string);
|
||||
char *p;
|
||||
PyObject *v;
|
||||
|
|
Loading…
Reference in New Issue