From 62409c42b12abc74899b6321e0a861b8fd5d7b46 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 8 Nov 2010 11:37:55 +0100 Subject: [PATCH] serialui: Don't cast zero. --- dlls/serialui/confdlg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/serialui/confdlg.c b/dlls/serialui/confdlg.c index d281c78c246..040967530d9 100644 --- a/dlls/serialui/confdlg.c +++ b/dlls/serialui/confdlg.c @@ -162,7 +162,7 @@ static void SERIALUI_AddConfItems(HWND hDlg, DWORD id, LPCPARAM2STR table, DWORD n = SendMessageA(hControl, CB_ADDSTRING, 0L, (LPARAM)table->data[i].name); if(dwVal == table->data[i].val) { - SendMessageA(hControl, CB_SETCURSEL, (WPARAM)n, (LPARAM)0); + SendMessageA(hControl, CB_SETCURSEL, n, 0); } } }