summaryrefslogtreecommitdiff
path: root/alf/alfnotebook.cpp
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-04-16 19:25:35 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-04-16 19:25:35 +0200
commit8b5755851611574fd4010d9fa4e1046b78a501b9 (patch)
tree84817c8bea211c099d72967470a1f054ece707c6 /alf/alfnotebook.cpp
parent536ea04c34ba761d7031eeabb6d50adab0f0f2bd (diff)
make it build with -Wconversion
Diffstat (limited to 'alf/alfnotebook.cpp')
-rw-r--r--alf/alfnotebook.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alf/alfnotebook.cpp b/alf/alfnotebook.cpp
index 8eaea6b..dc56769 100644
--- a/alf/alfnotebook.cpp
+++ b/alf/alfnotebook.cpp
@@ -357,7 +357,7 @@ ALF_NotebookTabIndex(HWND notebook, HWND tabPanel);
HWND
ALF_NotebookTabPanel(HWND notebook, int index)
{
- return (HWND)SendMessage(notebook, ALF_NB_GETPANEL, 0, (WPARAM)index);
+ return (HWND)SendMessage(notebook, ALF_NB_GETPANEL, 0, (LPARAM)index);
}
int