Commit fc967b45 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

comdlg32/tests: Remove unneeded casts.

parent 5e05a7b9
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment