From fe10e5fa354a508a6b20b4a20b9bba46c6b8612e Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Sun, 3 May 2020 20:23:10 +0200 Subject: make it compile as 64bit under mingw --- alf/alfbutton.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alf/alfbutton.cpp') diff --git a/alf/alfbutton.cpp b/alf/alfbutton.cpp index 292c913..2c67074 100644 --- a/alf/alfbutton.cpp +++ b/alf/alfbutton.cpp @@ -691,7 +691,7 @@ ALF_NtButton_Create(HWND win, WORD id, int x, int y, const TCHAR *text) WS_CHILD | WS_TABSTOP | WS_VISIBLE, 0, 0, 100, 100, win, - (HMENU)(int)id, + (HMENU)(ULONG_PTR)id, ALF_HINSTANCE, NULL); @@ -884,7 +884,7 @@ ALF_ClassicButton_Create(HWND win, WORD id, int x, int y, const TCHAR *text) WS_CHILD | WS_TABSTOP | WS_VISIBLE | BS_OWNERDRAW, 0, 0, 100, 100, win, - (HMENU)(int)id, + (HMENU)(ULONG_PTR)id, ALF_HINSTANCE, NULL); -- cgit v1.2.3