summaryrefslogtreecommitdiff
path: root/src/Piece.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-06-05 12:53:30 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-06-05 12:53:30 +0000
commitba158dbfc141aea20e1ce62eafdb5ab41f66ce6f (patch)
tree3063e63e9b0b2d84f082c5013ec9ebdb4eadd0c5 /src/Piece.h
parent7d63daed2238fbf5018788662550d605d49884ec (diff)
2008-06-05 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Made `begin' unsigned int. * src/GrowSegment.h * src/Piece.cc * src/Piece.h * src/PiecedSegment.cc * src/PiecedSegment.h * src/Segment.h
Diffstat (limited to 'src/Piece.h')
-rw-r--r--src/Piece.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Piece.h b/src/Piece.h
index 6b1f7c62..dcd9429c 100644
--- a/src/Piece.h
+++ b/src/Piece.h
@@ -140,7 +140,7 @@ public:
// Updates hash value. This function compares begin and private variable
// _nextBegin and only when they are equal, hash is updated eating data and
// returns true. Otherwise returns false.
- bool updateHash(size_t begin, const unsigned char* data, size_t dataLength);
+ bool updateHash(uint32_t begin, const unsigned char* data, size_t dataLength);
bool isHashCalculated() const;