From c82d2d5d13a3a8aef6473bc01cb6d791313fc883 Mon Sep 17 00:00:00 2001 From: "Marshall T. Vandegrift" Date: Tue, 16 Dec 2008 17:58:20 -0500 Subject: [PATCH] Fix 32-bit correctness error. --- src/calibre/utils/lzx/compressor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/utils/lzx/compressor.c b/src/calibre/utils/lzx/compressor.c index ee4436d4d6..cf3c3f6e92 100644 --- a/src/calibre/utils/lzx/compressor.c +++ b/src/calibre/utils/lzx/compressor.c @@ -175,7 +175,7 @@ mark_frame(void *context, uint32_t uncomp, uint32_t comp) PyObject *rtable = self->rtable; PyObject *entry = NULL; - entry = Py_BuildValue("(LL)", uncomp, comp); + entry = Py_BuildValue("(II)", uncomp, comp); if (entry) { PyList_Append(rtable, entry); Py_DECREF(entry);