comdlg32/tests: Remove unneeded casts.

Francois Gouget fgouget at free.fr
Fri Oct 24 04:24:38 CDT 2008


---
 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");
     }
-- 
1.5.6.5




More information about the wine-patches mailing list