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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94cc00ce4d61808d8697be45d38e94a43133f061;p=python Silence warning on Windows. --- diff --git a/Python/pystrtod.c b/Python/pystrtod.c index e677305282..b24bc9745f 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. */