index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-08-08 13:45:46 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-08-08 13:45:46 -0500 |
commit | 57393eb730641ca912a421b70897fcd289c44b21 (patch) | |
tree | f22ac9677e5b2408efcfc635c60902b5b792b9b4 /lib/libalpm/db.c | |
parent | f201f107dbee25294aa7c7f1139bf521e6afa267 (diff) |
-rw-r--r-- | lib/libalpm/db.c | 4 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index d9a3931e..191c8ba0 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -358,8 +358,8 @@ void _alpm_db_free(pmdb_t *db) int _alpm_db_cmp(const void *d1, const void *d2) { - pmdb_t *db1 = (pmdb_t *)db1; - pmdb_t *db2 = (pmdb_t *)db2; + pmdb_t *db1 = (pmdb_t *)d1; + pmdb_t *db2 = (pmdb_t *)d2; return(strcmp(db1->treename, db2->treename)); } |