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/ActivePeerConnectionCommand.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ActivePeerConnectionCommand.cc') diff --git a/src/ActivePeerConnectionCommand.cc b/src/ActivePeerConnectionCommand.cc index 6b11e98b..c07c7354 100644 --- a/src/ActivePeerConnectionCommand.cc +++ b/src/ActivePeerConnectionCommand.cc @@ -143,7 +143,7 @@ void ActivePeerConnectionCommand::connectToPeer(const SharedHandle& peer) command->setPieceStorage(pieceStorage_); e_->addCommand(command); A2_LOG_INFO(fmt(MSG_CONNECTING_TO_PEER, - util::itos(getCuid()).c_str(), + getCuid(), peer->getIPAddress().c_str())); } -- cgit