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/DefaultBtInteractive.cc | |
| parent | 3620d271af36a210af9c83fd6b49d13940710055 (diff) | |
Use PRId64 for int64_t format specifier
Diffstat (limited to 'src/DefaultBtInteractive.cc')
| -rw-r--r-- | src/DefaultBtInteractive.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DefaultBtInteractive.cc b/src/DefaultBtInteractive.cc index cb2530e8..af3df1b5 100644 --- a/src/DefaultBtInteractive.cc +++ b/src/DefaultBtInteractive.cc @@ -117,7 +117,7 @@ BtMessageHandle DefaultBtInteractive::receiveHandshake(bool quickReply) { if(memcmp(message->getPeerId(), bittorrent::getStaticPeerId(), PEER_ID_LENGTH) == 0) { throw DL_ABORT_EX - (fmt("CUID#%lld - Drop connection from the same Peer ID", + (fmt("CUID#%" PRId64 " - Drop connection from the same Peer ID", cuid_)); } std::vector<SharedHandle<Peer> > activePeers; @@ -126,7 +126,7 @@ BtMessageHandle DefaultBtInteractive::receiveHandshake(bool quickReply) { eoi = activePeers.end(); i != eoi; ++i) { if(memcmp((*i)->getPeerId(), message->getPeerId(), PEER_ID_LENGTH) == 0) { throw DL_ABORT_EX - (fmt("CUID#%lld - Same Peer ID has been already seen.", + (fmt("CUID#%" PRId64 " - Same Peer ID has been already seen.", cuid_)); } } |
