summaryrefslogtreecommitdiff
path: root/src/configparser.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-11-28 20:46:09 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-11-28 20:46:09 +0100
commit92d111cf25855a41beedb2c55bc422b419e9be13 (patch)
treec19160537b3933b4168118d670d83b57d04cdfa5 /src/configparser.cc
parent9e394a8bd3dc07003a003ef304bbdd8c9234ee2b (diff)
Fix 64bit compile warning.
Diffstat (limited to 'src/configparser.cc')
-rw-r--r--src/configparser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configparser.cc b/src/configparser.cc
index b0a0e9b..96e701b 100644
--- a/src/configparser.cc
+++ b/src/configparser.cc
@@ -66,5 +66,5 @@ void ConfigParser::parseError(char *buf, size_t len, std::string error,
buffer.append(buf, len);
ERR(configparser, "sax parser error '%s' at line %d. "
"Buffer: [%d bytes]<%s>\n",
- error.c_str(), lineno, len, buffer.c_str());
+ error.c_str(), lineno, (int)len, buffer.c_str());
}