Using PRId64 macro for portability.

This commit is contained in:
Alden Torres 2015-07-12 13:05:29 -04:00
parent 89f3b3bee3
commit 761486ce43
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ bool rpc_manager::incoming(msg const& m, node_id* id
time_point now = clock_type::now();
#ifndef TORRENT_DISABLE_LOGGING
m_log->log(dht_logger::rpc_manager, "round trip time(ms): %lld from %s"
m_log->log(dht_logger::rpc_manager, "round trip time(ms): %" PRId64 " from %s"
, total_milliseconds(now - o->sent()), print_endpoint(m.addr).c_str());
#endif