Eliminated some type conversion warnings.