VirtualBox

Ignore:
Timestamp:
Jul 4, 2011 9:19:27 PM (14 years ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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;
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