summaryrefslogtreecommitdiff
path: root/src/DefaultBtProgressInfoFile.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-02-24 09:43:31 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-02-24 09:43:31 +0000
commit5a4d691aedc422e04938db811f09ef7dcf1777c4 (patch)
tree3786bd6abac5bcaec61f4f9fdeab6de91e9fc713 /src/DefaultBtProgressInfoFile.cc
parent27ab4b15793976492caaec0a0e82a5d312637561 (diff)
2008-02-24 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Rewritten itos and uitos using template. llitos and ullitos are replaced with itos and uitos respectively. * src/Util.{h, cc} * test/UtilTest.cc
Diffstat (limited to 'src/DefaultBtProgressInfoFile.cc')
-rw-r--r--src/DefaultBtProgressInfoFile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DefaultBtProgressInfoFile.cc b/src/DefaultBtProgressInfoFile.cc
index 2c813dc5..0c11f33b 100644
--- a/src/DefaultBtProgressInfoFile.cc
+++ b/src/DefaultBtProgressInfoFile.cc
@@ -206,8 +206,8 @@ void DefaultBtProgressInfoFile::load()
in.read(reinterpret_cast<char*>(&totalLength), sizeof(totalLength));
if(totalLength != _dctx->getTotalLength()) {
throw new DlAbortEx("total length mismatch. expected: %s, actual: %s",
- Util::llitos(_dctx->getTotalLength()).c_str(),
- Util::llitos(totalLength).c_str());
+ Util::itos(_dctx->getTotalLength()).c_str(),
+ Util::itos(totalLength).c_str());
}
int64_t uploadLength;
in.read(reinterpret_cast<char*>(&uploadLength), sizeof(uploadLength));