From d2715d7c3534f35de0ebdd30d8d770bd79ca7a23 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 12 Feb 2014 11:17:21 +0100 Subject: Fix 64bit compilation --- server/src/macroparser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/macroparser.cc') diff --git a/server/src/macroparser.cc b/server/src/macroparser.cc index 8506a7b..683c1d5 100644 --- a/server/src/macroparser.cc +++ b/server/src/macroparser.cc @@ -375,7 +375,7 @@ void MacroParser::parseError(const char *buf, size_t len, std::string error, int { ERR_LOG(macro, "MacroParser[%s] error at line %d: %s\n", file.c_str(), lineno, error.c_str()); - ERR_LOG(macro, "\tBuffer %u bytes: [", len); + ERR_LOG(macro, "\tBuffer %u bytes: [", (int)len); if(fwrite(buf, len, 1, stderr) != len) {} ERR_LOG(macro, "]\n"); -- cgit v1.2.3