fix warning

pull/2/head
weidai 2006-06-09 06:31:46 +00:00
parent 1012e664ef
commit 55268a8121
1 changed files with 1 additions and 1 deletions

View File

@ -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);