Changeset 37598 in vbox
- Timestamp:
- Jun 22, 2011 8:58:35 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/fileio-win.cpp
r37596 r37598 75 75 { 76 76 SetLastError(NO_ERROR); 77 off.LowPart = SetFilePointer( RTFileToNative(hFile), off.LowPart, &off.HighPart, uMethod);77 off.LowPart = SetFilePointer((HANDLE)RTFileToNative(hFile), off.LowPart, &off.HighPart, uMethod); 78 78 fRc = GetLastError() == NO_ERROR; 79 79 } … … 123 123 { 124 124 HANDLE h = (HANDLE)uNative; 125 if ( h == INVALID_HANDLE_VALUE126 || (RTFILE)uNative != uNative)125 AssertCompile(sizeof(h) == sizeof(uNative)); 126 if (h == INVALID_HANDLE_VALUE) 127 127 { 128 128 AssertMsgFailed(("%p\n", uNative)); … … 502 502 int rc = RTErrConvertFromWin32(GetLastError()); 503 503 if ( rc == VERR_DISK_FULL 504 && IsBeyondLimit( RTFileToNative(hFile), cbToWriteAdj - cbWritten, FILE_CURRENT)504 && IsBeyondLimit(hFile, cbToWriteAdj - cbWritten, FILE_CURRENT) 505 505 ) 506 506 rc = VERR_FILE_TOO_BIG;
Note:
See TracChangeset
for help on using the changeset viewer.