VirtualBox

Changeset 79951 in vbox


Ignore:
Timestamp:
Jul 24, 2019 11:17:19 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132376
Message:

Runtime: ​bugref:8231 Starting on defining and implementing a new RTIoQueue API to replace RTFileAio mid term. [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ioqueue/ioqueue-aiofile-provider.cpp

    r79950 r79951  
    9696
    9797    pThis->cReqsToCommitMax = cSqEntries;
    98     pThis->cReqsFreeMax     = cSqEntries;
     98    pThis->cReqsFreeMax     = (uint32_t)cSqEntries;
    9999    pThis->cReqsFree        = 0;
    100100
     
    105105        if (RT_LIKELY(pThis->pahReqsFree))
    106106        {
    107             rc = RTFileAioCtxCreate(&pThis->hAioCtx, cSqEntries, RTFILEAIOCTX_FLAGS_WAIT_WITHOUT_PENDING_REQUESTS);
     107            rc = RTFileAioCtxCreate(&pThis->hAioCtx, (uint32_t)cSqEntries, RTFILEAIOCTX_FLAGS_WAIT_WITHOUT_PENDING_REQUESTS);
    108108            if (RT_SUCCESS(rc))
    109109                return VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

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