aboutsummaryrefslogtreecommitdiffstats
path: root/src/checksum/adler32/adler32.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-12 23:29:55 +0000
committerlloyd <[email protected]>2010-10-12 23:29:55 +0000
commit2af9ba577730f071eef44b3ba492c3bfad0a8ec6 (patch)
tree92a4c4e973756225d42bb99a99110b2669be7299 /src/checksum/adler32/adler32.cpp
parent97e8d6086171772cd5e45bcf2f5b1ea1e38e6bf5 (diff)
Use size_t for BufferedComputation::add_data
Diffstat (limited to 'src/checksum/adler32/adler32.cpp')
-rw-r--r--src/checksum/adler32/adler32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checksum/adler32/adler32.cpp b/src/checksum/adler32/adler32.cpp
index 09e42b8db..62589733f 100644
--- a/src/checksum/adler32/adler32.cpp
+++ b/src/checksum/adler32/adler32.cpp
@@ -55,9 +55,9 @@ void adler32_update(const byte input[], size_t length,
/*
* Update an Adler32 Checksum
*/
-void Adler32::add_data(const byte input[], u32bit length)
+void Adler32::add_data(const byte input[], size_t length)
{
- const u32bit PROCESS_AMOUNT = 5552;
+ const size_t PROCESS_AMOUNT = 5552;
while(length >= PROCESS_AMOUNT)
{