diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-04-29 08:47:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-04-29 08:47:20 +0200 |
commit | 7748bba03e2e4f004f98067f3c497008fb33afe7 (patch) | |
tree | 718d3eb24d433942fa3fc5cb8a388d38a43eb05f | |
parent | d2b64216ca881f274257996d8963bdf778ae9c8a (diff) |
Suppress VC warning in Expat code
-rw-r--r-- | xml/details/expat/xmlparse.c | 2 |
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; } |