From 8000a006f20ffe7149e764f2021e75e37cb60d82 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Tue, 26 Feb 2008 23:25:24 +0000 Subject: [PATCH] fix build, sorry svn path=/trunk/; revision=32498 --- reactos/subsystems/win32/win32k/objects/gdiobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/objects/gdiobj.c b/reactos/subsystems/win32/win32k/objects/gdiobj.c index e172c4fa116..bb09071c759 100644 --- a/reactos/subsystems/win32/win32k/objects/gdiobj.c +++ b/reactos/subsystems/win32/win32k/objects/gdiobj.c @@ -1058,7 +1058,7 @@ GDIOBJ_ShareLockObj (HGDIOBJ hObj, DWORD ExpectedType) RtlCaptureStackBackTrace(1, GDI_STACK_LEVELS, (PVOID*)GDIHandleLocker[HandleIndex], NULL); } #else - _InterlockedIncrement(Object->ulShareCount); + _InterlockedIncrement((PLONG)&Object->ulShareCount); #endif } else