diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-20 12:12:06 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-11-20 12:12:06 +0000 |
| commit | 03417e94b4aba60bf3cd835a1f7387ec18ea62d8 (patch) | |
| tree | 48d296a85dd3fa435c6b60856818ff9d7ba56589 /src/FileAllocationCommand.cc | |
| parent | 694fb307aa7e582a55bce7e995bde3a4614b3b4f (diff) | |
2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
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.
Diffstat (limited to 'src/FileAllocationCommand.cc')
| -rw-r--r-- | src/FileAllocationCommand.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FileAllocationCommand.cc b/src/FileAllocationCommand.cc index 3373d784..84e28e06 100644 --- a/src/FileAllocationCommand.cc +++ b/src/FileAllocationCommand.cc @@ -91,11 +91,11 @@ bool FileAllocationCommand::handleException(Exception& e) { getDownloadEngine()->getFileAllocationMan()->dropPickedEntry(); A2_LOG_ERROR_EX(fmt(MSG_FILE_ALLOCATION_FAILURE, - util::itos(getCuid()).c_str()), + getCuid()), e); A2_LOG_ERROR (fmt(MSG_DOWNLOAD_NOT_COMPLETE, - util::itos(getCuid()).c_str(), + getCuid(), getRequestGroup()->getDownloadContext()->getBasePath().c_str())); return true; } |
