VirtualBox

忽略:
時間撮記:
2011-7-4 下午09:19:27 (13 年 以前)
作者:
vboxsync
訊息:

Build fixes for current FreeBSD 9 (Thanks to Bernhard Froehlich and Jung-uk Kim)

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/r3/freebsd/fileaio-freebsd.cpp

    r33540 r37774  
    200200    pReqInt->AioCB.aio_sigevent.sigev_value.sival_ptr = pReqInt;
    201201    pReqInt->AioCB.aio_lio_opcode = uTransferDirection;
    202     pReqInt->AioCB.aio_fildes     = (int)hFile;
     202    pReqInt->AioCB.aio_fildes     = RTFileToNative(hFile);
    203203    pReqInt->AioCB.aio_offset     = off;
    204204    pReqInt->AioCB.aio_nbytes     = cbTransfer;
     
    236236
    237237    pReqInt->fFlush           = true;
    238     pReqInt->AioCB.aio_fildes = (int)hFile;
     238    pReqInt->AioCB.aio_fildes = RTFileToNative(hFile);
    239239    pReqInt->AioCB.aio_offset = 0;
    240240    pReqInt->AioCB.aio_nbytes = 0;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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