summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-25 11:57:20 -0400
committerDan McGee <dan@archlinux.org>2011-04-20 19:04:53 -0500
commit91594a1ef895a6e47ece299b762d5476f1bca348 (patch)
tree36449c5a5918588eec39ba24401aafadc2e43798 /src/util
parentfdcfcf28a28006a4239e54a34129d3b099d0df0d (diff)
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.c4
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);