Fix warnings generated by GCC.