mirror of
https://github.com/python/cpython.git
synced 2025-10-27 16:57:08 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue