summaryrefslogtreecommitdiff
path: root/src/FileAllocationCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-11-13 20:55:06 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-11-13 20:55:06 +0900
commit16877413037ceefad81669083c953c4638973f95 (patch)
tree746b6a0e7128c39674d1272ecb51ab8e4005060c /src/FileAllocationCommand.cc
parent9e5124eb11f1232aec77999795270196e95aade8 (diff)
Use fmt instead of util::itos
Diffstat (limited to 'src/FileAllocationCommand.cc')
-rw-r--r--src/FileAllocationCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileAllocationCommand.cc b/src/FileAllocationCommand.cc
index 7b7b10b7..450fa2b7 100644
--- a/src/FileAllocationCommand.cc
+++ b/src/FileAllocationCommand.cc
@@ -71,7 +71,7 @@ bool FileAllocationCommand::executeInternal()
A2_LOG_DEBUG
(fmt(MSG_ALLOCATION_COMPLETED,
static_cast<long int>(timer_.difference(global::wallclock())),
- util::itos(getRequestGroup()->getTotalLength(), true).c_str()));
+ static_cast<long long int>(getRequestGroup()->getTotalLength())));
getDownloadEngine()->getFileAllocationMan()->dropPickedEntry();
std::vector<Command*>* commands = new std::vector<Command*>();