diff options
author | Wichert Akkerman <wakkerma@debian.org> | 2001-04-23 23:41:37 +0000 |
---|---|---|
committer | Wichert Akkerman <wakkerma@debian.org> | 2001-04-23 23:41:37 +0000 |
commit | b8f468efd4746bc1be2326fc7608cc129a5ffa94 (patch) | |
tree | 9fcd34c1bc47b02e2d1ac02d49d381e00ebce567 /dselect | |
parent | f2af040b568ea8efa4d1ae2ecd1d9b9d3f798f16 (diff) | |
download | dpkg-b8f468efd4746bc1be2326fc7608cc129a5ffa94.tar.gz |
fix qsort_compareentries
Diffstat (limited to 'dselect')
-rw-r--r-- | dselect/pkglist.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dselect/pkglist.cc b/dselect/pkglist.cc index 8ef3d4b18..c4d44c738 100644 --- a/dselect/pkglist.cc +++ b/dselect/pkglist.cc @@ -140,8 +140,8 @@ void packagelist::addheading(enum ssavailval ssavail, static packagelist *sortpackagelist; int qsort_compareentries(const void *a, const void *b) { - return sortpackagelist->compareentries((const struct perpackagestate*)&a, - (const struct perpackagestate*)&b); + return sortpackagelist->compareentries(*(const struct perpackagestate**)a, + *(const struct perpackagestate**)b); } void packagelist::sortinplace() { |