Fix difference in signedness warnings

svn path=/trunk/; revision=25489
This commit is contained in:
Thomas Bluemel
2007-01-16 18:55:06 +00:00
parent 6c5af8a927
commit dde6333e88
+6 -6
View File
@@ -60,7 +60,7 @@ PsSetCreateProcessNotifyRoutine(IN PCREATE_PROCESS_NOTIFY_ROUTINE NotifyRoutine,
CallBack))
{
/* Decrement the number of routines */
InterlockedDecrement(&PspProcessNotifyRoutineCount);
InterlockedDecrement((PLONG)&PspProcessNotifyRoutineCount);
/* Dereference the block */
ExDereferenceCallBackBlock(&PspProcessNotifyRoutine[i],
@@ -97,7 +97,7 @@ PsSetCreateProcessNotifyRoutine(IN PCREATE_PROCESS_NOTIFY_ROUTINE NotifyRoutine,
NULL))
{
/* Found and inserted into an empty slot, return */
InterlockedIncrement(&PspProcessNotifyRoutineCount);
InterlockedIncrement((PLONG)&PspProcessNotifyRoutineCount);
return STATUS_SUCCESS;
}
}
@@ -149,7 +149,7 @@ PsRemoveLoadImageNotifyRoutine(IN PLOAD_IMAGE_NOTIFY_ROUTINE NotifyRoutine)
CallBack))
{
/* We removed it, now dereference the block */
InterlockedDecrement(&PspLoadImageNotifyRoutineCount);
InterlockedDecrement((PLONG)&PspLoadImageNotifyRoutineCount);
ExDereferenceCallBackBlock(&PspLoadImageNotifyRoutine[i],
CallBack);
@@ -195,7 +195,7 @@ PsSetLoadImageNotifyRoutine(IN PLOAD_IMAGE_NOTIFY_ROUTINE NotifyRoutine)
NULL))
{
/* Return success */
InterlockedIncrement(&PspLoadImageNotifyRoutineCount);
InterlockedIncrement((PLONG)&PspLoadImageNotifyRoutineCount);
PsImageNotifyEnabled = TRUE;
return STATUS_SUCCESS;
}
@@ -233,7 +233,7 @@ PsRemoveCreateThreadNotifyRoutine(IN PCREATE_THREAD_NOTIFY_ROUTINE NotifyRoutine
CallBack))
{
/* We removed it, now dereference the block */
InterlockedDecrement(&PspThreadNotifyRoutineCount);
InterlockedDecrement((PLONG)&PspThreadNotifyRoutineCount);
ExDereferenceCallBackBlock(&PspThreadNotifyRoutine[i],
CallBack);
@@ -279,7 +279,7 @@ PsSetCreateThreadNotifyRoutine(IN PCREATE_THREAD_NOTIFY_ROUTINE NotifyRoutine)
NULL))
{
/* Return success */
InterlockedIncrement(&PspThreadNotifyRoutineCount);
InterlockedIncrement((PLONG)&PspThreadNotifyRoutineCount);
return STATUS_SUCCESS;
}
}