VirtualBox

vbox的更動 37607 路徑 trunk/src/VBox/Runtime/r3/win


忽略:
時間撮記:
2011-6-23 上午10:42:42 (13 年 以前)
作者:
vboxsync
訊息:

build fix

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • 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());
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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