comdlg32/tests: Remove unneeded casts.

This commit is contained in:
Francois Gouget 2008-10-24 11:24:38 +02:00 committed by Alexandre Julliard
parent 5e05a7b9eb
commit fc967b45e8
1 changed files with 2 additions and 2 deletions

View File

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