diff options
Diffstat (limited to 'Modules/parsermodule.c')
-rw-r--r-- | Modules/parsermodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 514e7e6..25550e7 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -782,7 +782,7 @@ build_node_tree(PyObject *tuple) res = NULL; } if (res && encoding) { - int len; + Py_ssize_t len; len = PyString_GET_SIZE(encoding) + 1; res->n_str = (char *)PyMem_MALLOC(len); if (res->n_str != NULL) |