index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2007-05-14 03:16:55 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-05-14 03:16:55 -0400 |
commit | 2bcecbd62cb2bda681a3aba46bb0bbf690ba7219 (patch) | |
tree | cc7f9d60e04c65453527354bbd18312a9c323ed4 /lib/libalpm/alpm_list.c | |
parent | 5c930c318e7b80af3a322ddc7ddf9fe100e9c16b (diff) |
-rw-r--r-- | lib/libalpm/alpm_list.c | 2 |
diff --git a/lib/libalpm/alpm_list.c b/lib/libalpm/alpm_list.c index 4977f1ac..037f57ba 100644 --- a/lib/libalpm/alpm_list.c +++ b/lib/libalpm/alpm_list.c @@ -50,7 +50,7 @@ alpm_list_t *alpm_list_new() { alpm_list_t *list = NULL; - list = (alpm_list_t *)malloc(sizeof(alpm_list_t)); + list = malloc(sizeof(alpm_list_t)); if(list) { list->data = NULL; list->prev = NULL; |