summaryrefslogtreecommitdiffstats
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2009-04-28 07:33:09 (GMT)
committerEric Smith <eric@trueblade.com>2009-04-28 07:33:09 (GMT)
commit94cc00ce4d61808d8697be45d38e94a43133f061 (patch)
treebdfb7dc36e7320e2211faf5ca1a109e0cb73284c /Python/pystrtod.c
parente988e286b2831382deb7c69b26c74ed185f51696 (diff)
downloadcpython-94cc00ce4d61808d8697be45d38e94a43133f061.zip
cpython-94cc00ce4d61808d8697be45d38e94a43133f061.tar.gz
cpython-94cc00ce4d61808d8697be45d38e94a43133f061.tar.bz2
Silence warning on Windows.
Diffstat (limited to 'Python/pystrtod.c')
-rw-r--r--Python/pystrtod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c
index e677305..b24bc97 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. */