Silenced a MSVC warning about int64->int32 conversion

Follow-up to 8351881. Thanks to Takkun for the report

Signed-off-by: Haru <haru@dotalux.com>