diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-06-25 22:43:33 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-06-25 22:43:33 +0900 |
| commit | 4b03634f36b05c32737aeea8ca178f53f68052e8 (patch) | |
| tree | c0eff13df7c53eedf96ddf546832179f8305a8fd /src/HttpServerCommand.cc | |
| parent | 3620d271af36a210af9c83fd6b49d13940710055 (diff) | |
Use PRId64 for int64_t format specifier
Diffstat (limited to 'src/HttpServerCommand.cc')
| -rw-r--r-- | src/HttpServerCommand.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HttpServerCommand.cc b/src/HttpServerCommand.cc index 5c79112f..2851b90e 100644 --- a/src/HttpServerCommand.cc +++ b/src/HttpServerCommand.cc @@ -216,10 +216,10 @@ bool HttpServerCommand::execute() if(e_->getOption()->getAsInt(PREF_RPC_MAX_REQUEST_SIZE) < httpServer_->getContentLength()) { A2_LOG_INFO - (fmt("Request too long. ContentLength=%lld." + (fmt("Request too long. ContentLength=%" PRId64 "." " See --rpc-max-request-size option to loose" " this limitation.", - static_cast<long long int>(httpServer_->getContentLength()))); + static_cast<int64_t>(httpServer_->getContentLength()))); return true; } Command* command = new HttpServerBodyCommand(getCuid(), httpServer_, e_, @@ -238,7 +238,7 @@ bool HttpServerCommand::execute() } } } catch(RecoverableException& e) { - A2_LOG_INFO_EX(fmt("CUID#%lld - Error occurred while reading HTTP request", + A2_LOG_INFO_EX(fmt("CUID#%" PRId64 " - Error occurred while reading HTTP request", getCuid()), e); return true; |
