VirtualBox

Changeset 4372 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Aug 24, 2007 9:21:51 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
23921
Message:

Finally corrected the RTFileRead, RTFileReadAt, RTFileWrite and RTFileWriteAt APIs to size_t. This was long overdue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/cfgldr.cpp

    r4337 r4372  
    593593
    594594    // read from the file
    595     unsigned cbRead = 0;
     595    size_t cbRead = 0;
    596596    rc = RTFileRead (m_hFileHandle, toFill, maxToRead, &cbRead);
    597597    AssertRC (rc);
     
    603603    AssertRC (rc);
    604604
    605     return cbRead;
     605    return (unsigned int)cbRead;
    606606}
    607607
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