summaryrefslogtreecommitdiff
path: root/alf/alfbutton.cpp
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-05-03 20:23:10 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-05-03 20:23:10 +0200
commitfe10e5fa354a508a6b20b4a20b9bba46c6b8612e (patch)
treec9993398c269dd5017370f422e2025d0b9a3e396 /alf/alfbutton.cpp
parenta3870e00c23e64691c43e74c5f20969e9051a48c (diff)
make it compile as 64bit under mingw
Diffstat (limited to 'alf/alfbutton.cpp')
-rw-r--r--alf/alfbutton.cpp4
1 files changed, 2 insertions, 2 deletions
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);