index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-09-18 17:07:05 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-18 17:11:39 -0500 |
commit | 86d9fcbfff6d806bcb6d0a19d73d09e1af4e1733 (patch) | |
tree | 7483800f1c85c9a6cedd8217b524719de6a8f222 /lib/libalpm/db.c | |
parent | 69a3558b75948e4b1592a060a58f6c1d58b7d459 (diff) |
-rw-r--r-- | lib/libalpm/db.c | 4 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 4b23509a..765448df 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -381,8 +381,8 @@ const char *_alpm_db_path(alpm_db_t *db) int _alpm_db_cmp(const void *d1, const void *d2) { - alpm_db_t *db1 = (alpm_db_t *)d1; - alpm_db_t *db2 = (alpm_db_t *)d2; + const alpm_db_t *db1 = d1; + const alpm_db_t *db2 = d2; return strcmp(db1->treename, db2->treename); } |