mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Patch #801349: 64-bit fix for AMD64 from Gwenole Beauchesne.
Classical problem with int vs. long mismatch in varargs. 2.3 backport candidate.
This commit is contained in:
parent
f1827cfaab
commit
ee8f10fa37
1 changed files with 1 additions and 1 deletions
|
@ -875,7 +875,7 @@ get_data(char *archive, PyObject *toc_entry)
|
|||
"zlib not available");
|
||||
goto error;
|
||||
}
|
||||
data = PyObject_CallFunction(decompress, "Ol", raw_data, -15);
|
||||
data = PyObject_CallFunction(decompress, "Oi", raw_data, -15);
|
||||
error:
|
||||
Py_DECREF(raw_data);
|
||||
return data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue