diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index e23ea72..032b14d 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2642,7 +2642,7 @@ exec_statement(f, prog, globals, locals) return 0; } s = PyString_AsString(prog); - if (strlen(s) != PyString_Size(prog)) { + if ((int)strlen(s) != PyString_Size(prog)) { PyErr_SetString(PyExc_ValueError, "embedded '\\0' in exec string"); return -1; |