From 8b5755851611574fd4010d9fa4e1046b78a501b9 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Thu, 16 Apr 2020 19:25:35 +0200 Subject: make it build with -Wconversion --- alf/alfnotebook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alf/alfnotebook.cpp') 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 -- cgit v1.2.3