Fix ANSI C-incompatible change