CHG: Fixed a warning on Mac