summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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());
}