From 74ea90f2d6d20aaa6622f4d25b8b406031a9b27b Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 9 Jun 2006 06:31:46 +0000 Subject: [PATCH] fix warning --- trunk/c5/pwdbased.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/c5/pwdbased.h b/trunk/c5/pwdbased.h index bdd1edcd..99d2c3f4 100644 --- a/trunk/c5/pwdbased.h +++ b/trunk/c5/pwdbased.h @@ -101,7 +101,7 @@ unsigned int PKCS5_PBKDF2_HMAC::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);