From b8c1742c400ab79887cc068635227616cf528fe4 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Fri, 13 Jul 2012 00:06:00 +0200 Subject: warning C4267: conversion from 'size_t' to 'int' Change-Id: I00e5e4f959c351004d8c1181c124cc6a1058b666 --- shell/source/all/xml_parser.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/source/all/xml_parser.cxx b/shell/source/all/xml_parser.cxx index 6c2daaa8a82f..24a3ce961701 100644 --- a/shell/source/all/xml_parser.cxx +++ b/shell/source/all/xml_parser.cxx @@ -177,7 +177,8 @@ void xml_parser::init() void xml_parser::parse(const char* XmlData, size_t Length, bool IsFinal) { - if (XML_STATUS_ERROR == XML_Parse(xml_parser_, XmlData, Length, IsFinal)) + if (XML_STATUS_ERROR == + XML_Parse(xml_parser_, XmlData, static_cast(Length), IsFinal)) { throw xml_parser_exception( (char*)XML_ErrorString(XML_GetErrorCode(xml_parser_)), -- cgit