Silence an implicit int-to-float conversion warning on MSVC