diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-04 12:59:15 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-01-04 12:59:15 +0000 |
commit | d4a9fa435abe536522fb0343710feac61914ce00 (patch) | |
tree | bc3eca8520bc3115c78193f855a198077d4494bb /Python/pythonrun.c | |
parent | 6509b37bb8032193baa39e2526501b96bc763b75 (diff) | |
download | cpython-d4a9fa435abe536522fb0343710feac61914ce00.tar.gz |
Issue #9566: use Py_ssize_t instead of int
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index e3836b8b7c..33f187386a 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1202,7 +1202,8 @@ PyRun_SimpleFileExFlags(FILE *fp, const char *filename, int closeit, { PyObject *m, *d, *v; const char *ext; - int set_file_name = 0, ret, len; + int set_file_name = 0, ret; + size_t len; m = PyImport_AddModule("__main__"); if (m == NULL) |