diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-06 13:34:41 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-06 13:34:41 (GMT) |
commit | dbf697ae5c73b2fff37ec76fd7e802e31236280f (patch) | |
tree | 428cf3159da8f692370f26c58a840dba5d67e41e /Objects/stringlib | |
parent | 45d9c91d4b0d61faaa85ea834e59c86815c00709 (diff) | |
download | cpython-dbf697ae5c73b2fff37ec76fd7e802e31236280f.zip cpython-dbf697ae5c73b2fff37ec76fd7e802e31236280f.tar.gz cpython-dbf697ae5c73b2fff37ec76fd7e802e31236280f.tar.bz2 |
Fix compilation warnings under 64-bit Windows
Diffstat (limited to 'Objects/stringlib')
-rw-r--r-- | Objects/stringlib/unicode_format.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/unicode_format.h b/Objects/stringlib/unicode_format.h index 81a1ff2..5f8d24d 100644 --- a/Objects/stringlib/unicode_format.h +++ b/Objects/stringlib/unicode_format.h @@ -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; |