diff options
author | Dave Reisner <d@falconindy.com> | 2011-03-25 11:57:20 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-20 19:04:53 -0500 |
commit | 91594a1ef895a6e47ece299b762d5476f1bca348 (patch) | |
tree | 36449c5a5918588eec39ba24401aafadc2e43798 /src/util | |
parent | fdcfcf28a28006a4239e54a34129d3b099d0df0d (diff) | |
download | pacman-91594a1ef895a6e47ece299b762d5476f1bca348.tar.xz |
style cleanup: cast as (type *) not (type*)
Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/pactree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/pactree.c b/src/util/pactree.c index 94e628b6..1c6aebf2 100644 --- a/src/util/pactree.c +++ b/src/util/pactree.c @@ -267,7 +267,7 @@ static void walk_reverse_deps(pmpkg_t *pkg, int depth) return; } - walked = alpm_list_add(walked, (void*)alpm_pkg_get_name(pkg)); + walked = alpm_list_add(walked, (void *)alpm_pkg_get_name(pkg)); required_by = alpm_pkg_compute_requiredby(pkg); for(i = required_by; i; i = alpm_list_next(i)) { @@ -299,7 +299,7 @@ static void walk_deps(pmpkg_t *pkg, int depth) return; } - walked = alpm_list_add(walked, (void*)alpm_pkg_get_name(pkg)); + walked = alpm_list_add(walked, (void *)alpm_pkg_get_name(pkg)); for(i = alpm_pkg_get_depends(pkg); i; i = alpm_list_next(i)) { pmdepend_t *depend = alpm_list_getdata(i); |