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/handle.c | |
parent | 5c930c318e7b80af3a322ddc7ddf9fe100e9c16b (diff) |
-rw-r--r-- | lib/libalpm/handle.c | 2 |
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c index cbbdeff5..47abcb32 100644 --- a/lib/libalpm/handle.c +++ b/lib/libalpm/handle.c @@ -45,7 +45,7 @@ pmhandle_t *_alpm_handle_new() { pmhandle_t *handle; - handle = (pmhandle_t *)malloc(sizeof(pmhandle_t)); + handle = malloc(sizeof(pmhandle_t)); if(handle == NULL) { _alpm_log(PM_LOG_ERROR, _("malloc failure: could not allocate %d bytes"), sizeof(pmhandle_t)); RET_ERR(PM_ERR_MEMORY, NULL); |