mirror of
https://github.com/python/cpython
synced 2024-10-14 21:01:10 +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
|
@ -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…
Reference in a new issue