aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vmime/security/digest/sha1/sha1MessageDigest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vmime/security/digest/sha1/sha1MessageDigest.cpp b/src/vmime/security/digest/sha1/sha1MessageDigest.cpp
index aa055af5..9367008b 100644
--- a/src/vmime/security/digest/sha1/sha1MessageDigest.cpp
+++ b/src/vmime/security/digest/sha1/sha1MessageDigest.cpp
@@ -95,8 +95,7 @@ void sha1MessageDigest::update(const string& s)
}
-void sha1MessageDigest::update(const byte_t* buffer, const size_t offset,
- const unsigned long len)
+void sha1MessageDigest::update(const byte_t* buffer, const size_t offset, const size_t len)
{
update(buffer + offset, len);
}