index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/hook.c | 4 |
diff --git a/lib/libalpm/hook.c b/lib/libalpm/hook.c index 49a5dae1..ed79fdd9 100644 --- a/lib/libalpm/hook.c +++ b/lib/libalpm/hook.c @@ -729,7 +729,7 @@ int _alpm_hook_run(alpm_handle_t *handle, alpm_hook_when_t when) if(hooks_triggered != NULL) { event.type = ALPM_EVENT_HOOK_START; - EVENT(handle, &event); + EVENT(handle, (void *)&event); hook_event.position = 1; hook_event.total = triggered; @@ -758,7 +758,7 @@ int _alpm_hook_run(alpm_handle_t *handle, alpm_hook_when_t when) alpm_list_free(hooks_triggered); event.type = ALPM_EVENT_HOOK_DONE; - EVENT(handle, &event); + EVENT(handle, (void *)&event); } cleanup: |