VirtualBox

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


Ignore:
Timestamp:
Mar 29, 2009 1:45:29 AM (16 years ago)
Author:
vboxsync
Message:

xml.cpp: bunch of size_t where ssize_t probably should've been used.

File:
1 edited

Legend:

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

    r18052 r18492  
    269269    int vrc = RTFileRead (m->handle, aBuf, len, &len);
    270270    if (RT_SUCCESS (vrc))
    271         return len;
     271        return (int)len;
    272272
    273273    throw EIPRTFailure (vrc);
     
    279279    int vrc = RTFileWrite (m->handle, aBuf, len, &len);
    280280    if (RT_SUCCESS (vrc))
    281         return len;
     281        return (int)len;
    282282
    283283    throw EIPRTFailure (vrc);
     
    360360    m->pos += len;
    361361
    362     return len;
     362    return (int)len;
    363363}
    364364
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