fix build, sorry
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 26 Feb 2008 23:25:24 +0000 (23:25 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Tue, 26 Feb 2008 23:25:24 +0000 (23:25 +0000)
svn path=/trunk/; revision=32498

reactos/subsystems/win32/win32k/objects/gdiobj.c

index e172c4f..bb09071 100644 (file)
@@ -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