summaryrefslogtreecommitdiff
path: root/pwdbased.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-06-09 06:31:46 +0000
committerweidai <weidai11@users.noreply.github.com>2006-06-09 06:31:46 +0000
commit55268a8121b869f51a5e36cac2d9a03e8bf92db1 (patch)
treec92ee544047e07b792a8055a252c1e9a696314ad /pwdbased.h
parent1012e664efa9dfca3d7ebacb0058a2245a9bbf62 (diff)
downloadcryptopp-git-55268a8121b869f51a5e36cac2d9a03e8bf92db1.tar.gz
fix warning
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 bdd1edcd..99d2c3f4 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);