Fixed a couple of GCC warnings