Michael Stefaniuc : serialui: Don't cast zero.
Alexandre Julliard
julliard at winehq.org
Mon Nov 8 11:46:25 CST 2010
Module: wine
Branch: master
Commit: 62409c42b12abc74899b6321e0a861b8fd5d7b46
URL: http://source.winehq.org/git/wine.git/?a=commit;h=62409c42b12abc74899b6321e0a861b8fd5d7b46
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Mon Nov 8 11:37:55 2010 +0100
serialui: Don't cast zero.
---
dlls/serialui/confdlg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/serialui/confdlg.c b/dlls/serialui/confdlg.c
index d281c78..0409675 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);
}
}
}
More information about the wine-cvs
mailing list