From 98e617a937fefefa97958fde9524109b9a712719 Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Thu, 18 May 2017 01:20:22 +0100 Subject: [PATCH] #6037 Use MAKINTATOM in MSWindowsScreen --- src/lib/platform/MSWindowsScreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/platform/MSWindowsScreen.cpp b/src/lib/platform/MSWindowsScreen.cpp index 26fb8dc8..080db53d 100644 --- a/src/lib/platform/MSWindowsScreen.cpp +++ b/src/lib/platform/MSWindowsScreen.cpp @@ -868,7 +868,7 @@ MSWindowsScreen::createWindow(ATOM windowClass, const char* name) const HWND window = CreateWindowEx(WS_EX_TOPMOST | WS_EX_TRANSPARENT | WS_EX_TOOLWINDOW, - reinterpret_cast(windowClass), + MAKEINTATOM(windowClass), name, WS_POPUP, 0, 0, 1, 1,