/* Otherwise, free the work item */
else
{
- ExFreePoolWithTag(WorkItem, 'Fsrs');
+ ExFreePoolWithTag(WorkItem, 'FSrs');
}
/* Reset top level */
KIRQL Irql;
PLIST_ENTRY Entry;
PWORK_QUEUE_ITEM WorkItem;
- ULONG QueueId = (ULONG)StartContext;
+ ULONG_PTR QueueId = (ULONG_PTR)StartContext;
/* Set our priority according to the queue we're dealing with */
KeSetPriorityThread(&PsGetCurrentThread()->Tcb, LOW_REALTIME_PRIORITY + QueueId);
INIT_FUNCTION
FsRtlInitializeWorkerThread(VOID)
{
- ULONG i;
+ ULONG_PTR i;
NTSTATUS Status;
HANDLE ThreadHandle;
OBJECT_ATTRIBUTES ObjectAttributes;