mirror of
https://github.com/python/cpython.git
synced 2025-11-12 23:16:47 +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");
|
"zlib not available");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
data = PyObject_CallFunction(decompress, "Ol", raw_data, -15);
|
data = PyObject_CallFunction(decompress, "Oi", raw_data, -15);
|
||||||
error:
|
error:
|
||||||
Py_DECREF(raw_data);
|
Py_DECREF(raw_data);
|
||||||
return data;
|
return data;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue