winetest: Remove superfluous cast to self.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-12-11 20:30:15 +01:00 committed by Alexandre Julliard
parent 269f29f3c0
commit 8576d5ad84
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ static BOOL running_on_visible_desktop (void)
HWINSTA wstation;
USEROBJECTFLAGS uoflags;
wstation = (HWINSTA)pGetProcessWindowStation();
wstation = pGetProcessWindowStation();
assert(pGetUserObjectInformationA(wstation, UOI_FLAGS, &uoflags, sizeof(uoflags), &len));
return (uoflags.dwFlags & WSF_VISIBLE) != 0;
}