Sync to trunk r38250
[reactos.git] / reactos / ntoskrnl / io / iomgr / iofunc.c
index 3a1774e..db1e917 100644 (file)
@@ -2451,7 +2451,7 @@ NtSetInformationFile(IN HANDLE FileHandle,
                     /* Set the Data */
                     Context->Key = CompletionInfo->Key;
                     Context->Port = Queue;
-                    if (InterlockedCompareExchangePointer(&FileObject->
+                    if (InterlockedCompareExchangePointer((PVOID*)&FileObject->
                                                           CompletionContext,
                                                           Context,
                                                           NULL))