gcc got a little stricter with argument types