VirtualBox

Changeset 37607 in vbox


Ignore:
Timestamp:
Jun 23, 2011 10:42:42 AM (13 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/fileaio-win.cpp

    r37596 r37607  
    189189
    190190    pReqInt->enmTransferDirection  = enmTransferDirection;
    191     pReqInt->hFile                 = RTFileToNative(hFile);
     191    pReqInt->hFile                 = (HANDLE)RTFileToNative(hFile);
    192192    pReqInt->Overlapped.Offset     = (DWORD)(off & 0xffffffff);
    193193    pReqInt->Overlapped.OffsetHigh = (DWORD)(off >> 32);
     
    318318    RTFILEAIOCTX_VALID_RETURN(pCtxInt);
    319319
    320     HANDLE hTemp = CreateIoCompletionPort(RTFileToNative(hFile), pCtxInt->hIoCompletionPort, 0, 1);
     320    HANDLE hTemp = CreateIoCompletionPort((HANDLE)RTFileToNative(hFile), pCtxInt->hIoCompletionPort, 0, 1);
    321321    if (hTemp != pCtxInt->hIoCompletionPort)
    322322        rc = RTErrConvertFromWin32(GetLastError());
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette