Fix MSVC size_t conversion warning.