X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=dll%2Fwin32%2Fuser32%2Finclude%2Fuser32.h;h=99f48a1a9a269f618fce0fdc19624a7621bab7c3;hp=174d71ebb3bd88a417b0fc9709884c4e6f0e3979;hb=b6edb50eb1a2311af040aadeec7791efa270a72e;hpb=76085ba9824b9b4ac80dc6af201e47ce88df585c diff --git a/dll/win32/user32/include/user32.h b/dll/win32/user32/include/user32.h index 174d71ebb3b..99f48a1a9a2 100644 --- a/dll/win32/user32/include/user32.h +++ b/dll/win32/user32/include/user32.h @@ -153,7 +153,7 @@ DesktopPtrToUser(PVOID Ptr) /* NOTE: This is slow as it requires a call to win32k. This should only be neccessary if a thread wants to access an object on a different desktop */ - return NtUserGetDesktopMapping(Ptr); + return (PVOID)NtUserGetDesktopMapping(Ptr); } }