summaryrefslogtreecommitdiff
path: root/src/BtPieceMessage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/BtPieceMessage.cc')
-rw-r--r--src/BtPieceMessage.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BtPieceMessage.cc b/src/BtPieceMessage.cc
index 338bebe3..80a67541 100644
--- a/src/BtPieceMessage.cc
+++ b/src/BtPieceMessage.cc
@@ -109,7 +109,7 @@ void BtPieceMessage::doReceivedAction()
static_cast<unsigned long>(index_),
begin_,
blockLength_,
- static_cast<long long int>(offset),
+ static_cast<int64_t>(offset),
static_cast<unsigned long>(slot.getBlockIndex())));
if(piece->hasBlock(slot.getBlockIndex())) {
A2_LOG_DEBUG("Already have this block.");
@@ -133,7 +133,7 @@ void BtPieceMessage::doReceivedAction()
}
}
} else {
- A2_LOG_DEBUG(fmt("CUID#%lld - RequestSlot not found, index=%lu, begin=%d",
+ A2_LOG_DEBUG(fmt("CUID#%" PRId64 " - RequestSlot not found, index=%lu, begin=%d",
getCuid(),
static_cast<unsigned long>(index_),
begin_));