diff --git a/os/win/dnd.cpp b/os/win/dnd.cpp index 4f3b8002f..5af81407e 100644 --- a/os/win/dnd.cpp +++ b/os/win/dnd.cpp @@ -33,7 +33,7 @@ DWORD as_dropeffect(const os::DropOperation op) os::DropOperation as_dropoperation(DWORD pdwEffect) { - int op = 0; + int op = static_cast(os::DropOperation::None); if (pdwEffect & DROPEFFECT_COPY) op |= static_cast(os::DropOperation::Copy);