summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/bltinmodule.c')
-rw-r--r--Python/bltinmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 6c2c3c7..b9222b6 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -430,7 +430,7 @@ complex_from_string(PyObject *v)
NULL))
return NULL;
s = s_buffer;
- len = strlen(s);
+ len = (int)strlen(s);
}
else if (PyObject_AsCharBuffer(v, &s, &len)) {
PyErr_SetString(PyExc_TypeError,