Fixed a couple of warnings from -Wall.