summaryrefslogtreecommitdiff
path: root/src/PieceHashCheckIntegrityEntry.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
commit032c7c28083e17bdcfd763b3cf81447b06a07978 (patch)
treee5cc5ceb050773165df41eb7f0aed3f2a48205a0 /src/PieceHashCheckIntegrityEntry.cc
parentca3f6e57f35c67f67c3b4f64cedded8ca23237e8 (diff)
2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
type cleanup for allmost all remaining files.
Diffstat (limited to 'src/PieceHashCheckIntegrityEntry.cc')
-rw-r--r--src/PieceHashCheckIntegrityEntry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PieceHashCheckIntegrityEntry.cc b/src/PieceHashCheckIntegrityEntry.cc
index 466eb8d2..0bedd95c 100644
--- a/src/PieceHashCheckIntegrityEntry.cc
+++ b/src/PieceHashCheckIntegrityEntry.cc
@@ -50,7 +50,7 @@ bool PieceHashCheckIntegrityEntry::isValidationReady()
{
DownloadContextHandle dctx = _requestGroup->getDownloadContext();
return dctx->getPieceHashes().size() > 0 &&
- dctx->getPieceHashes().size() == (uint32_t)dctx->getNumPieces();
+ dctx->getPieceHashes().size() == dctx->getNumPieces();
}
void PieceHashCheckIntegrityEntry::initValidator()