aboutsummaryrefslogtreecommitdiffstats
path: root/xmlserializer/XmlStringDocSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlserializer/XmlStringDocSource.cpp')
-rw-r--r--xmlserializer/XmlStringDocSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlserializer/XmlStringDocSource.cpp b/xmlserializer/XmlStringDocSource.cpp
index ec2d7e9..8d420b6 100644
--- a/xmlserializer/XmlStringDocSource.cpp
+++ b/xmlserializer/XmlStringDocSource.cpp
@@ -39,7 +39,7 @@ CXmlStringDocSource::CXmlStringDocSource(const std::string& strXmlInput,
const std::string& strRootElementName,
const std::string& strNameAttrituteName,
bool bValidateWithSchema) :
- base(xmlReadMemory(strXmlInput.c_str(), strXmlInput.size(), "", NULL, 0),
+ base(xmlReadMemory(strXmlInput.c_str(), (int)strXmlInput.size(), "", NULL, 0),
strXmlSchemaFile,
strRootElementType,
strRootElementName,