summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Python/pystrtod.c2
1 files changed, 1 insertions, 1 deletions
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. */