https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c2b6c3a69ff133c3370a118a1abaa48dee91122a

commit c2b6c3a69ff133c3370a118a1abaa48dee91122a
Author:     Pierre Schweitzer <pie...@reactos.org>
AuthorDate: Sat Mar 2 10:45:34 2019 +0100
Commit:     Pierre Schweitzer <pie...@reactos.org>
CommitDate: Sat Mar 2 10:45:34 2019 +0100

    [NTOSKRNL] Fix ClockDiff aka fix MSVC build
---
 ntoskrnl/ex/uuid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntoskrnl/ex/uuid.c b/ntoskrnl/ex/uuid.c
index 1f41bdb122..8c8270a3db 100644
--- a/ntoskrnl/ex/uuid.c
+++ b/ntoskrnl/ex/uuid.c
@@ -261,7 +261,7 @@ ExpAllocateUuids(PULARGE_INTEGER Time,
     else
     {
         *Range = TIME_FRAME;
-        ClockDiff.QuadPart -= TIME_FRAME;
+        ClockDiff.QuadPart = TimeDiff.QuadPart - TIME_FRAME;
         --ClockDiff.HighPart;
     }
 

Reply via email to