diff options
author | Just van Rossum <just@letterror.com> | 2003-09-07 13:36:48 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2003-09-07 13:36:48 (GMT) |
commit | ee8f10fa37335cbbb8830c200edefd91605c22ac (patch) | |
tree | 60d78e70426f9cebb7b3621a4385b9aed8f0ceb0 /Modules/zipimport.c | |
parent | f1827cfaab46e4d9137fd72543c83977eba50cb0 (diff) | |
download | cpython-ee8f10fa37335cbbb8830c200edefd91605c22ac.zip cpython-ee8f10fa37335cbbb8830c200edefd91605c22ac.tar.gz cpython-ee8f10fa37335cbbb8830c200edefd91605c22ac.tar.bz2 |
Patch #801349: 64-bit fix for AMD64 from Gwenole Beauchesne.
Classical problem with int vs. long mismatch in varargs.
2.3 backport candidate.
Diffstat (limited to 'Modules/zipimport.c')
-rw-r--r-- | Modules/zipimport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c index afcd421..b229088 100644 --- a/Modules/zipimport.c +++ b/Modules/zipimport.c @@ -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; |