From: Eric Smith Date: Tue, 28 Apr 2009 07:33:09 +0000 (+0000) Subject: Silence warning on Windows. X-Git-Tag: v2.7a1~1350 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94cc00ce4d61808d8697be45d38e94a43133f061;p=thirdparty%2FPython%2Fcpython.git Silence warning on Windows. --- diff --git a/Python/pystrtod.c b/Python/pystrtod.c index e67730528249..b24bc9745f2d 100644 --- a/Python/pystrtod.c +++ b/Python/pystrtod.c @@ -260,7 +260,7 @@ change_decimal_from_locale_to_dot(char* buffer) Py_LOCAL_INLINE(void) ensure_sign(char* buffer, size_t buf_size) { - Py_ssize_t len; + size_t len; if (buffer[0] == '-') /* Already have a sign. */