VirtualBox

Changeset 33700 in vbox


Ignore:
Timestamp:
Nov 2, 2010 4:19:36 PM (14 years ago)
Author:
vboxsync
Message:

Main;Runtime: use size_t

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/cpp/xml.h

    r33469 r33700  
    636636    ~XmlMemParser();
    637637
    638     void read(const void* pvBuf, int cbSize, const iprt::MiniString &strFilename, Document &doc);
     638    void read(const void* pvBuf, size_t cbSize, const iprt::MiniString &strFilename, Document &doc);
    639639};
    640640
  • trunk/src/VBox/Main/include/ovfreader.h

    r32565 r33700  
    403403{
    404404public:
    405     OVFReader(const void *pvBuf, int cbSize, const iprt::MiniString &path);
     405    OVFReader(const void *pvBuf, size_t cbSize, const iprt::MiniString &path);
    406406    OVFReader(const iprt::MiniString &path);
    407407
  • trunk/src/VBox/Main/xml/ovfreader.cpp

    r33540 r33700  
    3737 * @param path   path to a filename for error messages.
    3838 */
    39 OVFReader::OVFReader(const void *pvBuf, int cbSize, const MiniString &path)
     39OVFReader::OVFReader(const void *pvBuf, size_t cbSize, const MiniString &path)
    4040    : m_strPath(path)
    4141{
  • trunk/src/VBox/Runtime/r3/xml.cpp

    r33540 r33700  
    14351435 * @param doc out: document to be reset and filled with data according to file contents.
    14361436 */
    1437 void XmlMemParser::read(const void* pvBuf, int cbSize,
     1437void XmlMemParser::read(const void* pvBuf, size_t cbSize,
    14381438                        const iprt::MiniString &strFilename,
    14391439                        Document &doc)
     
    14471447    if (!(doc.m->plibDocument = xmlCtxtReadMemory(m_ctxt,
    14481448                                                  (const char*)pvBuf,
    1449                                                   cbSize,
     1449                                                  (int)cbSize,
    14501450                                                  pcszFilename,
    14511451                                                  NULL,       // encoding = auto
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