From dbf697ae5c73b2fff37ec76fd7e802e31236280f Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Thu, 6 Oct 2011 15:34:41 +0200 Subject: Fix compilation warnings under 64-bit Windows --- Objects/stringlib/unicode_format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Objects/stringlib') diff --git a/Objects/stringlib/unicode_format.h b/Objects/stringlib/unicode_format.h index 81a1ff2580..5f8d24db51 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; -- cgit v1.2.1