fix pointer <-> ULONG cast

svn path=/branches/ros-amd64-bringup/; revision=35970
This commit is contained in:
Timo Kreuzer
2008-09-05 23:46:47 +00:00
parent 48f7ad5d4c
commit de62b70a2c
+2 -2
View File
@@ -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 */