MSVC: Fix an "incompatible pointer types" compiler warning