From 59abfb8a1d0cfa9080581c840a8d592ec7302d93 Mon Sep 17 00:00:00 2001 From: sfb Date: Mon, 28 Oct 2013 12:58:08 -0500 Subject: [PATCH] Bad logging, content is unsigned const char*, fixed it to use %s and not cast. --HG-- branch : gsoc2011-worldeditorqt --- .../src/plugins/world_editor/world_editor_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/world_editor/world_editor_misc.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/world_editor/world_editor_misc.cpp index dc1ae435f..f9eb7ce54 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/world_editor/world_editor_misc.cpp +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/world_editor/world_editor_misc.cpp @@ -50,7 +50,7 @@ void syntaxError(const char *filename, xmlNodePtr xmlNode, const char *format, . strcpy(buffer, "Unknown error"); } - nlerror("(%s), node (%s), line (%d) :\n%s", filename, xmlNode->name, (int)xmlNode->content, buffer); + nlerror("(%s), node (%s), line (%s) :\n%s", filename, xmlNode->name, xmlNode->content, buffer); } bool getPropertyString(std::string &result, const char *filename, xmlNodePtr xmlNode, const char *propName)