From 644d3aee302b107bf827ff64c17a3e7870b9effd Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Fri, 27 Nov 2009 17:06:54 +0000 Subject: [PATCH] - Don't use a pointer to SINGLE_LIST_ENTRY as parameter for InterlockedPushEntrySList. It's not the same as SLIST_ENTRY! svn path=/branches/ros-amd64-bringup/; revision=44293 --- reactos/ntoskrnl/include/internal/ob_x.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/include/internal/ob_x.h b/reactos/ntoskrnl/include/internal/ob_x.h index 545b41fc67e..aa9d59cd05d 100644 --- a/reactos/ntoskrnl/include/internal/ob_x.h +++ b/reactos/ntoskrnl/include/internal/ob_x.h @@ -358,14 +358,14 @@ ObpFreeCapturedAttributes(IN PVOID Buffer, { /* The free was within the Depth */ InterlockedPushEntrySList(&List->L.ListHead, - (PSINGLE_LIST_ENTRY)Buffer); + (PSLIST_ENTRY)Buffer); } } else { /* The free was within the Depth */ InterlockedPushEntrySList(&List->L.ListHead, - (PSINGLE_LIST_ENTRY)Buffer); + (PSLIST_ENTRY)Buffer); } }