Fixed MSVC warnings on 7f9f6e1b84061a7d393debf37395c8b4a2667db1

Special Thanks to KeiKun for bringing them to me.

Signed-off-by: shennetsind <ind@henn.et>