]> git.saurik.com Git - wxWidgets.git/commit
Fixed XML parser error text formatting.
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 3 Jul 2010 14:24:31 +0000 (14:24 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 3 Jul 2010 14:24:31 +0000 (14:24 +0000)
commit936759a46357b53cf726bc230e41b70c87dac1c2
tree565faab3801e5ba3c1d664e7557202f98a7896c8
parent9b1aeed1bbd55c942e7ebe1f7e02877a1ea6e25e
Fixed XML parser error text formatting.

XML_GetCurrentLineNumber() returns int in some versions of Expat and
unsigned long (or even uint64_t) in other versions. Just cast the value
to int so that it works correctly with all versions.

Fixes #12196.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/xml/xml.cpp