summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmmodule/rpmmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmmodule/rpmmodule.c b/rpmmodule/rpmmodule.c
index f5658f9ef..3cdded31e 100644
--- a/rpmmodule/rpmmodule.c
+++ b/rpmmodule/rpmmodule.c
@@ -351,7 +351,7 @@ static PyObject * findUpgradeSet(PyObject * self, PyObject * args) {
}
list.numPackages = PyList_Size(hdrList);
- list.packages = alloca(sizeof(*list.packages) * list.numPackages);
+ list.packages = alloca(sizeof(list.packages) * list.numPackages);
for (i = 0; i < list.numPackages; i++) {
hdr = (hdrObject *) PyList_GetItem(hdrList, i);
if (hdr->ob_type != &hdrType) {