Commit in reactos/subsys/win32k/include on win32k_user_rewrite
internal.h+1-11.1.4.9 -> 1.1.4.10
small bugfix - must pass address of counter to InterlockedDecrement

reactos/subsys/win32k/include
internal.h 1.1.4.9 -> 1.1.4.10
diff -u -r1.1.4.9 -r1.1.4.10
--- internal.h	13 Sep 2004 21:28:16 -0000	1.1.4.9
+++ internal.h	13 Sep 2004 22:40:18 -0000	1.1.4.10
@@ -106,7 +106,7 @@
   InterlockedIncrement((LONG*)(ClassObj))
 
 #define ClassDereferenceObject(ClassObj) \
-  if(InterlockedDecrement((LONG*)((ClassObj)->RefCount)) == 0) \
+  if(InterlockedDecrement((LONG*)&((ClassObj)->RefCount)) == 0) \
   { \
     ExFreePool(ClassObj); \
   }
CVSspam 0.2.8