Fix wrong usage of (void) in function calls