Fix compilation warnings under 64-bit Windows

This commit is contained in:
Antoine Pitrou 2011-10-06 15:34:41 +02:00
parent 45d9c91d4b
commit dbf697ae5c
2 changed files with 4 additions and 3 deletions

View file

@ -56,7 +56,7 @@ AutoNumber_Init(AutoNumber *auto_number)
/* fill in a SubString from a pointer and length */
Py_LOCAL_INLINE(void)
SubString_init(SubString *str, PyObject *s, int start, int end)
SubString_init(SubString *str, PyObject *s, Py_ssize_t start, Py_ssize_t end)
{
str->str = s;
str->start = start;