mirror of
https://github.com/python/cpython.git
synced 2026-05-09 06:01:08 -04:00
Issue #9566: use Py_ssize_t instead of int
This commit is contained in:
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user