aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2014-01-31 20:53:40 +0000
committerVincent Richard <[email protected]>2014-01-31 20:53:40 +0000
commit6d417b1db76bc38581cea8b420b5074143918dd0 (patch)
tree72be67bd7ee58e1b8a239e0d0b1b7c892f4cf543
parentMerge pull request #66 from tholdawa/master (diff)
downloadvmime-6d417b1db76bc38581cea8b420b5074143918dd0.tar.gz
vmime-6d417b1db76bc38581cea8b420b5074143918dd0.zip
Fixed type.
-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);
}