summaryrefslogtreecommitdiff
path: root/dselect/pkglist.h
diff options
context:
space:
mode:
authorAdam Heath <doogie@debian.org>2001-04-23 08:59:02 +0000
committerAdam Heath <doogie@debian.org>2001-04-23 08:59:02 +0000
commitea93ed48c17445d01b67f3fa8a20a5a644a89e5b (patch)
tree2883c9ea2b0833ef770fb5ff68fa18ba0acc2973 /dselect/pkglist.h
parentecb9054f73b151acfa0fa81f1e89ce85ce8350c4 (diff)
downloaddpkg-ea93ed48c17445d01b67f3fa8a20a5a644a89e5b.tar.gz
Fixed up several warning types: const, casting, incorrect sizes,
signed/unsigned comparisons.
Diffstat (limited to 'dselect/pkglist.h')
-rw-r--r--dselect/pkglist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dselect/pkglist.h b/dselect/pkglist.h
index 4bfc84352..232227afb 100644
--- a/dselect/pkglist.h
+++ b/dselect/pkglist.h
@@ -141,7 +141,7 @@ class packagelist : public baselist {
// Miscellaneous internal routines
void redraw1package(int index, int selected);
- int compareentries(struct perpackagestate *a, struct perpackagestate *b);
+ int compareentries(const struct perpackagestate *a, const struct perpackagestate *b);
friend int qsort_compareentries(const void *a, const void *b);
pkginfo::pkgwant reallywant(pkginfo::pkgwant, struct perpackagestate*);
int describemany(char buf[], const char *prioritystring, const char *section,