[NTOSKRNL] Fix ClockDiff aka fix MSVC build
authorPierre Schweitzer <pierre@reactos.org>
Sat, 2 Mar 2019 09:45:34 +0000 (10:45 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 2 Mar 2019 09:45:34 +0000 (10:45 +0100)
ntoskrnl/ex/uuid.c

index 1f41bdb..8c8270a 100644 (file)
@@ -261,7 +261,7 @@ ExpAllocateUuids(PULARGE_INTEGER Time,
     else
     {
         *Range = TIME_FRAME;
-        ClockDiff.QuadPart -= TIME_FRAME;
+        ClockDiff.QuadPart = TimeDiff.QuadPart - TIME_FRAME;
         --ClockDiff.HighPart;
     }