[REACTOS] Fix warning C4146: unary minus operator applied to unsigned type, result still unsigned

This commit is contained in:
Timo Kreuzer 2019-05-26 13:37:31 +02:00
parent 64e182e429
commit 08c6d21e1f
6 changed files with 8 additions and 8 deletions

View file

@ -29,8 +29,8 @@ SleepMs(ULONG Milliseconds)
{
LARGE_INTEGER Period;
Period.QuadPart = -Milliseconds;
Period.QuadPart *= 10000;
Period.QuadPart = Milliseconds;
Period.QuadPart *= -10000;
KeDelayExecutionThread(KernelMode, FALSE, &Period);
}