Fixed GCC warnings.