refs #9389. Fix type conversion warnings.