summaryrefslogtreecommitdiffstats
path: root/Modules/zipimport.c
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2003-09-07 13:36:48 (GMT)
committerJust van Rossum <just@letterror.com>2003-09-07 13:36:48 (GMT)
commitee8f10fa37335cbbb8830c200edefd91605c22ac (patch)
tree60d78e70426f9cebb7b3621a4385b9aed8f0ceb0 /Modules/zipimport.c
parentf1827cfaab46e4d9137fd72543c83977eba50cb0 (diff)
downloadcpython-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.c2
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;