From 03417e94b4aba60bf3cd835a1f7387ec18ea62d8 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 20 Nov 2010 12:12:06 +0000 Subject: 2010-11-20 Tatsuhiro Tsujikawa Use format specifier %lld for cuid_t. Defined cuid_t as long long int instead of int64_t, since g++ complains int64_t is not suitable for %lld. --- src/HttpServerBodyCommand.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/HttpServerBodyCommand.cc') diff --git a/src/HttpServerBodyCommand.cc b/src/HttpServerBodyCommand.cc index 441ed40b..6febd3a8 100644 --- a/src/HttpServerBodyCommand.cc +++ b/src/HttpServerBodyCommand.cc @@ -119,8 +119,8 @@ bool HttpServerBodyCommand::execute() } } catch(RecoverableException& e) { A2_LOG_INFO_EX - (fmt("CUID#%s - Error occurred while reading HTTP request body", - util::itos(getCuid()).c_str()), + (fmt("CUID#%lld - Error occurred while reading HTTP request body", + getCuid()), e); return true; } -- cgit