serialui: Don't cast zero.

This commit is contained in:
Michael Stefaniuc 2010-11-08 11:37:55 +01:00 committed by Alexandre Julliard
parent 43aa5f6b2e
commit 62409c42b1
1 changed files with 1 additions and 1 deletions

View File

@ -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); n = SendMessageA(hControl, CB_ADDSTRING, 0L, (LPARAM)table->data[i].name);
if(dwVal == table->data[i].val) if(dwVal == table->data[i].val)
{ {
SendMessageA(hControl, CB_SETCURSEL, (WPARAM)n, (LPARAM)0); SendMessageA(hControl, CB_SETCURSEL, n, 0);
} }
} }
} }