https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cef57d3c4428899289b98…
commit cef57d3c4428899289b9855dc48fc9ae35f0839d
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sat Jan 4 13:58:06 2020 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sat Oct 31 14:24:09 2020 +0100
[GDI32] Fix up GdiFixUpHandle
---
win32ss/gdi/gdi32/misc/misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/gdi/gdi32/misc/misc.c b/win32ss/gdi/gdi32/misc/misc.c
index 04be375853f..5382c67aab0 100644
--- a/win32ss/gdi/gdi32/misc/misc.c
+++ b/win32ss/gdi/gdi32/misc/misc.c
@@ -745,7 +745,7 @@ GdiFixUpHandle(HGDIOBJ hGdiObj)
Entry = GdiHandleTable + GDI_HANDLE_GET_INDEX(hGdiObj);
/* Rebuild handle for Object */
- return hGdiObj = (HGDIOBJ)(((LONG_PTR)(hGdiObj)) | (Entry->Type <<
GDI_ENTRY_UPPER_SHIFT));
+ return (HGDIOBJ)(((ULONG_PTR)(hGdiObj)) | (Entry->Type <<
GDI_ENTRY_UPPER_SHIFT));
}
/*