Commit ee8f10fa authored by Just van Rossum's avatar Just van Rossum

Patch #801349: 64-bit fix for AMD64 from Gwenole Beauchesne.

Classical problem with int vs. long mismatch in varargs.
2.3 backport candidate.
parent f1827cfa
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment