diff Python/pystrtod.c @ 53555:d9b9422b409c legacy-trunk

Silence warning on Windows.
author Eric Smith <eric@trueblade.com>
date Tue, 28 Apr 2009 07:33:09 +0000
parents 4bdd847b57c2
children a3fcccee8957
line wrap: on
line diff
--- a/Python/pystrtod.c	Mon Apr 27 21:53:26 2009 +0000
+++ b/Python/pystrtod.c	Tue Apr 28 07:33:09 2009 +0000
@@ -260,7 +260,7 @@
 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. */