Fixed a compile of warnings.