mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
fix pointer <-> ULONG cast
svn path=/branches/ros-amd64-bringup/; revision=35970
This commit is contained in:
@@ -1080,7 +1080,7 @@ CmpLoadHiveThread(IN PVOID StartContext)
|
||||
PAGED_CODE();
|
||||
|
||||
/* Get the hive index, make sure it makes sense */
|
||||
i = (ULONG)StartContext;
|
||||
i = PtrToUlong(StartContext);
|
||||
ASSERT(CmpMachineHiveList[i].Name != NULL);
|
||||
|
||||
/* We were started */
|
||||
@@ -1275,7 +1275,7 @@ CmpInitializeHiveList(IN USHORT Flag)
|
||||
0,
|
||||
NULL,
|
||||
CmpLoadHiveThread,
|
||||
(PVOID)i);
|
||||
UlongToPtr(i));
|
||||
if (NT_SUCCESS(Status))
|
||||
{
|
||||
/* We don't care about the handle -- the thread self-terminates */
|
||||
|
||||
Reference in New Issue
Block a user