Francois Gouget : comdlg32/tests: Remove unneeded casts.
Alexandre Julliard
julliard at winehq.org
Fri Oct 24 08:12:47 CDT 2008
Module: wine
Branch: master
Commit: fc967b45e8490c3c89b72a02c7385a61d0de39a5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fc967b45e8490c3c89b72a02c7385a61d0de39a5
Author: Francois Gouget <fgouget at free.fr>
Date: Fri Oct 24 11:24:38 2008 +0200
comdlg32/tests: Remove unneeded casts.
---
dlls/comdlg32/tests/filedlg.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comdlg32/tests/filedlg.c b/dlls/comdlg32/tests/filedlg.c
index c3ca118..09a2428 100644
--- a/dlls/comdlg32/tests/filedlg.c
+++ b/dlls/comdlg32/tests/filedlg.c
@@ -212,9 +212,9 @@ static LONG_PTR WINAPI template_hook(HWND dlg, UINT msg, WPARAM wParam, LPARAM l
HWND p,cb;
INT sel;
p = GetParent(dlg);
- ok(p!=(HWND)NULL, "Failed to get parent of template\n");
+ ok(p!=NULL, "Failed to get parent of template\n");
cb = GetDlgItem(p,0x470);
- ok(cb!=(HWND)NULL, "Failed to get filter combobox\n");
+ ok(cb!=NULL, "Failed to get filter combobox\n");
sel = SendMessage(cb, CB_GETCURSEL, 0, 0);
ok (sel != -1, "Failed to get selection from filter listbox\n");
}
More information about the wine-cvs
mailing list