aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-04-29 08:47:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-04-29 08:47:20 +0200
commit7748bba03e2e4f004f98067f3c497008fb33afe7 (patch)
tree718d3eb24d433942fa3fc5cb8a388d38a43eb05f
parentd2b64216ca881f274257996d8963bdf778ae9c8a (diff)
Suppress VC warning in Expat code
-rw-r--r--xml/details/expat/xmlparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml/details/expat/xmlparse.c b/xml/details/expat/xmlparse.c
index b65612c..d3c7873 100644
--- a/xml/details/expat/xmlparse.c
+++ b/xml/details/expat/xmlparse.c
@@ -1831,7 +1831,7 @@ XML_Index XMLCALL
XML_GetCurrentByteIndex(XML_Parser parser)
{
if (eventPtr)
- return parseEndByteIndex - (parseEndPtr - eventPtr);
+ return (XML_Index) (parseEndByteIndex - (parseEndPtr - eventPtr));
return -1;
}