Fix warnings from -Wall.