mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 00:52:27 +00:00
[REACTOS] Fix warning C4146: unary minus operator applied to unsigned type, result still unsigned
This commit is contained in:
parent
64e182e429
commit
08c6d21e1f
6 changed files with 8 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue