VirtualBox

Changeset 24226 in vbox


Ignore:
Timestamp:
Oct 30, 2009 10:42:53 PM (15 years ago)
Author:
vboxsync
Message:

fileaio-posix.cpp: fixed warning in RTFileAioCtxWait.

File:
1 edited

Legend:

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

    r23602 r24226  
    826826    int32_t cRequestsWaiting = ASMAtomicReadS32(&pCtxInt->cRequests);
    827827
    828     if (RT_UNLIKELY(cRequestsWaiting == 0))
     828    if (RT_UNLIKELY(cRequestsWaiting <= 0))
    829829        return VERR_FILE_AIO_NO_REQUEST;
    830830
    831     if (RT_UNLIKELY(cMinReqs > cRequestsWaiting))
     831    if (RT_UNLIKELY(cMinReqs > (uint32_t)cRequestsWaiting))
    832832        return VERR_INVALID_PARAMETER;
    833833
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