Fix MSVC warning from previous patch