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/macroheaderparser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/macroheaderparser.cc') diff --git a/server/src/macroheaderparser.cc b/server/src/macroheaderparser.cc index 8db14dc..84efaee 100644 --- a/server/src/macroheaderparser.cc +++ b/server/src/macroheaderparser.cc @@ -129,7 +129,7 @@ void MacroHeaderParser::parseError(const char *buf, size_t len, std::string erro ERR_LOG(macro, "MacroHeaderParser[%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