summaryrefslogtreecommitdiff
path: root/pwdbased.h
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-06-09 06:31:46 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2006-06-09 06:31:46 +0000
commit40dbbaffa8e75d23f4c0fd34bc9c082bf74f3533 (patch)
treec92ee544047e07b792a8055a252c1e9a696314ad /pwdbased.h
parentd20fa8832f0aeb94dfa627a846df1a641fa46f64 (diff)
downloadcryptopp-40dbbaffa8e75d23f4c0fd34bc9c082bf74f3533.tar.gz
fix warning
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@223 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'pwdbased.h')
-rw-r--r--pwdbased.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pwdbased.h b/pwdbased.h
index bdd1edc..99d2c3f 100644
--- a/pwdbased.h
+++ b/pwdbased.h
@@ -101,7 +101,7 @@ unsigned int PKCS5_PBKDF2_HMAC<T>::DeriveKey(byte *derived, size_t derivedLen, b
unsigned int j;
for (j=0; j<4; j++)
{
- byte b = i >> ((3-j)*8);
+ byte b = byte(i >> ((3-j)*8));
hmac.Update(&b, 1);
}
hmac.Final(buffer);