https://git.reactos.org/?p=reactos.git;a=commitdiff;h=44b11ad6a90613f632954…
commit 44b11ad6a90613f63295474cf7be041a968e9e32
Author: James Tabor <james.tabor(a)reactos.org>
AuthorDate: Wed May 1 20:53:06 2019 -0500
Commit: James Tabor <james.tabor(a)reactos.org>
CommitDate: Wed May 1 20:53:06 2019 -0500
[GDI32] Fix MS build
Fix old uncovered code.
---
win32ss/gdi/gdi32/objects/coord.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/win32ss/gdi/gdi32/objects/coord.c b/win32ss/gdi/gdi32/objects/coord.c
index f405490d84..dd40889ea0 100644
--- a/win32ss/gdi/gdi32/objects/coord.c
+++ b/win32ss/gdi/gdi32/objects/coord.c
@@ -866,7 +866,7 @@ OffsetViewportOrgEx(
if (lpPoint)
{
- *lpPoint = (POINT)pdcattr->ptlViewportOrg;
+ *lpPoint = pdcattr->ptlViewportOrg;
if ( pdcattr->dwLayout & LAYOUT_RTL) lpPoint->x = -lpPoint->x;
}
@@ -917,7 +917,7 @@ OffsetWindowOrgEx(
if ( lpPoint )
{
- *lpPoint = (POINT)pdcattr->ptlWindowOrg;
+ *lpPoint = pdcattr->ptlWindowOrg;
//lpPoint->x = pdcattr->lWindowOrgx;
}