index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-09-19 14:32:53 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-20 10:23:10 -0500 |
commit | 79cbce60ac4a40bf11d039e9bdcd09c852ce3292 (patch) | |
tree | c13c3310fb1167f448c238188a93873a63c4092d /lib/libalpm/package.c | |
parent | 70e2c34f0f5db329b8e92fe3fc3043e495272f14 (diff) |
-rw-r--r-- | lib/libalpm/package.c | 2 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index ecea4118..11bf01a8 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -696,7 +696,7 @@ int _alpm_pkg_should_ignore(alpm_handle_t *handle, alpm_pkg_t *pkg) /* next see if the package is in a group that is ignored */ for(groups = handle->ignoregroup; groups; groups = groups->next) { - char *grp = (char *)alpm_list_getdata(groups); + char *grp = groups->data; if(alpm_list_find_str(alpm_pkg_get_groups(pkg), grp)) { return 1; } |