editor: prevent warning on MSVC