Fix usage of PEB::KernelCallbacktable. It's a PVOID.

svn path=/branches/ros-amd64-bringup/; revision=44523
This commit is contained in:
Timo Kreuzer
2009-12-10 12:39:54 +00:00
parent cda052bdd5
commit fbb3b9e1a8
+2 -2
View File
@@ -79,8 +79,8 @@ KiUserCallbackDispatcher(ULONG Index,
ULONG ArgumentLength)
{
/* Return with the result of the callback function */
USER_CALL *KernelCallbackTable = NtCurrentPeb()->KernelCallbackTable;
ZwCallbackReturn(NULL,
0,
((USER_CALL)(NtCurrentPeb()->KernelCallbackTable[Index]))
(Argument, ArgumentLength));
KernelCallbackTable[Index](Argument, ArgumentLength));
}