From 6d417b1db76bc38581cea8b420b5074143918dd0 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 31 Jan 2014 21:53:40 +0100 Subject: [PATCH] Fixed type. --- src/vmime/security/digest/sha1/sha1MessageDigest.cpp | 3 +-- 1 file changed, 1 insertion(+), 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); }