sync to trunk head (37853) (except rbuild changes)
[reactos.git] / reactos / dll / win32 / kernel32 / file / lfile.c
index 7c54980..503b75e 100644 (file)
@@ -28,7 +28,7 @@ _hread(
        DWORD   NumberOfBytesRead;
 
        if ( !ReadFile(
-               (HANDLE) hFile,
+               (HANDLE)(ULONG_PTR) hFile,
                (LPVOID) lpBuffer,
                (DWORD) lBytes,
                & NumberOfBytesRead,