VirtualBox

Changeset 26530 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 15, 2010 4:05:15 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57701
Message:

fileaio-win.cpp: More warnings.

File:
1 edited

Legend:

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

    r26528 r26530  
    348348    RTFILEAIOCTX_VALID_RETURN(pCtxInt);
    349349    AssertReturn(cReqs > 0,  VERR_INVALID_PARAMETER);
     350    Assert(cReqs <= INT32_MAX);
    350351    AssertPtrReturn(pahReqs, VERR_INVALID_POINTER);
    351352    size_t i;
     
    382383    }
    383384
    384     ASMAtomicAddS32(&pCtxInt->cRequests, i);
     385    ASMAtomicAddS32(&pCtxInt->cRequests, (int32_t)i);
    385386
    386387    return rc;
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