summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/pkghash.c
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2011-03-25 16:57:20 +0100
committerDan McGee <dan@archlinux.org>2011-04-21 02:04:53 +0200
commit91594a1ef895a6e47ece299b762d5476f1bca348 (patch)
tree36449c5a5918588eec39ba24401aafadc2e43798 /lib/libalpm/pkghash.c
parentfdcfcf28a28006a4239e54a34129d3b099d0df0d (diff)
downloadpacman-91594a1ef895a6e47ece299b762d5476f1bca348.tar.gz
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 'lib/libalpm/pkghash.c')
-rw-r--r--lib/libalpm/pkghash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/pkghash.c b/lib/libalpm/pkghash.c
index b4dfcb6a..f4153300 100644
--- a/lib/libalpm/pkghash.c
+++ b/lib/libalpm/pkghash.c
@@ -75,7 +75,7 @@ pmpkghash_t *_alpm_pkghash_create(size_t size)
return NULL;
}
- CALLOC(hash->hash_table, hash->buckets, sizeof(alpm_list_t*), \
+ CALLOC(hash->hash_table, hash->buckets, sizeof(alpm_list_t *), \
free(hash); RET_ERR(PM_ERR_MEMORY, NULL));
return hash;