Index: /trunk/include/iprt/cpp/xml.h
===================================================================
--- /trunk/include/iprt/cpp/xml.h	(revision 33699)
+++ /trunk/include/iprt/cpp/xml.h	(revision 33700)
@@ -636,5 +636,5 @@
     ~XmlMemParser();
 
-    void read(const void* pvBuf, int cbSize, const iprt::MiniString &strFilename, Document &doc);
+    void read(const void* pvBuf, size_t cbSize, const iprt::MiniString &strFilename, Document &doc);
 };
 
Index: /trunk/src/VBox/Main/include/ovfreader.h
===================================================================
--- /trunk/src/VBox/Main/include/ovfreader.h	(revision 33699)
+++ /trunk/src/VBox/Main/include/ovfreader.h	(revision 33700)
@@ -403,5 +403,5 @@
 {
 public:
-    OVFReader(const void *pvBuf, int cbSize, const iprt::MiniString &path);
+    OVFReader(const void *pvBuf, size_t cbSize, const iprt::MiniString &path);
     OVFReader(const iprt::MiniString &path);
 
Index: /trunk/src/VBox/Main/xml/ovfreader.cpp
===================================================================
--- /trunk/src/VBox/Main/xml/ovfreader.cpp	(revision 33699)
+++ /trunk/src/VBox/Main/xml/ovfreader.cpp	(revision 33700)
@@ -37,5 +37,5 @@
  * @param path   path to a filename for error messages.
  */
-OVFReader::OVFReader(const void *pvBuf, int cbSize, const MiniString &path)
+OVFReader::OVFReader(const void *pvBuf, size_t cbSize, const MiniString &path)
     : m_strPath(path)
 {
Index: /trunk/src/VBox/Runtime/r3/xml.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/xml.cpp	(revision 33699)
+++ /trunk/src/VBox/Runtime/r3/xml.cpp	(revision 33700)
@@ -1435,5 +1435,5 @@
  * @param doc out: document to be reset and filled with data according to file contents.
  */
-void XmlMemParser::read(const void* pvBuf, int cbSize,
+void XmlMemParser::read(const void* pvBuf, size_t cbSize,
                         const iprt::MiniString &strFilename,
                         Document &doc)
@@ -1447,5 +1447,5 @@
     if (!(doc.m->plibDocument = xmlCtxtReadMemory(m_ctxt,
                                                   (const char*)pvBuf,
-                                                  cbSize,
+                                                  (int)cbSize,
                                                   pcszFilename,
                                                   NULL,       // encoding = auto
