summaryrefslogtreecommitdiff
path: root/server/src/queryparser.cc
diff options
context:
space:
mode:
authordeva <deva>2009-11-13 14:22:03 +0000
committerdeva <deva>2009-11-13 14:22:03 +0000
commitcf403cac888ee277e77cecf0dc9a6e86b6f3f966 (patch)
tree3e6f0be9a9cdcd2db4d71611d8e5da8ec6d12fba /server/src/queryparser.cc
parentd536b969ed2739c467b19ba73cc32e0c9e73645d (diff)
More SAXParser const char conversion.
Diffstat (limited to 'server/src/queryparser.cc')
-rw-r--r--server/src/queryparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/queryparser.cc b/server/src/queryparser.cc
index 602ba80..db562ae 100644
--- a/server/src/queryparser.cc
+++ b/server/src/queryparser.cc
@@ -69,7 +69,7 @@ void QueryParser::endTag(std::string name)
if(name == "group" || name == "result") stack.pop_back();
}
-void QueryParser::parseError(char *buf, size_t len, std::string error, int lineno)
+void QueryParser::parseError(const char *buf, size_t len, std::string error, int lineno)
{
fprintf(stderr, "QueryParser error at line %d: %s\n", lineno, error.c_str());
fprintf(stderr, "\tBuffer %u bytes: [", len);