Fix warning when compiling with -pedantic.