Fixed a few GCC warnings.