Sync to trunk (r44371)
[reactos.git] / reactos / dll / win32 / kernel32 / file / rw.c
index 400caf7..26b1a99 100644 (file)
@@ -39,7 +39,7 @@ WriteFile(IN HANDLE hFile,
 
    hFile = TranslateStdHandle(hFile);
 
-   if (IsConsoleHandle(hFile))
+   if (IsConsoleHandle((ULONG_PTR)hFile))
      {
        return WriteConsoleA(hFile,
                              lpBuffer,