From 1dab21b236d76900f3ddd2be32f9590aef394c2d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 2 Oct 2012 20:41:01 +0300 Subject: Remove most C casts. --- src/resources/mapreader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/mapreader.cpp') diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index ede630d0c..51d762569 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -705,7 +705,7 @@ Tileset *MapReader::readTileset(XmlNodePtr node, const std::string &path, std::string pathDir(path); std::map props; - if (xmlHasProp(node, BAD_CAST "source")) + if (XmlHasProp(node, "source")) { std::string filename = XML::getProperty(node, "source", ""); filename = resolveRelativePath(path, filename); -- cgit v1.2.3-70-g09d2