[ros-diffs] [tkreuzer] 44293: - Don't use a pointer to SINGLE_LIST_ENTRY as parameter for InterlockedPushEntrySList. It's not the same as SLIST_ENTRY!

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Fri Nov 27 18:06:54 CET 2009


Author: tkreuzer
Date: Fri Nov 27 18:06:54 2009
New Revision: 44293

URL: http://svn.reactos.org/svn/reactos?rev=44293&view=rev
Log:
- Don't use a pointer to SINGLE_LIST_ENTRY as parameter for InterlockedPushEntrySList. It's not the same as SLIST_ENTRY!

Modified:
    branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/ob_x.h

Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/ob_x.h
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/ob_x.h?rev=44293&r1=44292&r2=44293&view=diff
==============================================================================
--- branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/ob_x.h [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/ob_x.h [iso-8859-1] Fri Nov 27 18:06:54 2009
@@ -358,14 +358,14 @@
         {
             /* 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);
     }
 }
 




More information about the Ros-diffs mailing list