- Fix a bug spotted by Timo
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 22 Sep 2009 13:54:33 +0000 (13:54 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Tue, 22 Sep 2009 13:54:33 +0000 (13:54 +0000)
svn path=/trunk/; revision=43111

reactos/drivers/ksfilter/ks/allocators.c

index 6382fd7..d8c4ef3 100644 (file)
@@ -315,7 +315,7 @@ IKsAllocator_fnAllocateFrame(
     if (Frame)
     {
         *OutFrame = Frame;
-        InterlockedIncrement((PLONG)This->Status.AllocatedFrames);
+        InterlockedIncrement((PLONG)&This->Status.AllocatedFrames);
         return STATUS_SUCCESS;
     }