[NTOS:FSRTL] Fixed incorrect comparison
authorIvan Labutin <linuxrf@gmail.com>
Mon, 13 Nov 2017 14:08:27 +0000 (15:08 +0100)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 20 Dec 2017 05:56:09 +0000 (06:56 +0100)
ntoskrnl/fsrtl/unc.c

index 2f8a1af..6738915 100644 (file)
@@ -71,7 +71,7 @@ FsRtlpIsDfsEnabled(VOID)
         return TRUE;
     }
 
-    return ((ULONG)KeyQueryOutput.KeyInfo.Data != 1);
+    return ((*(PULONG)KeyQueryOutput.KeyInfo.Data) != 1);
 }
 
 NTSTATUS