- Minor update in types to prevent compiler warning under VS2010

This commit is contained in:
Paul Bakker 2011-07-11 08:16:18 +00:00
parent 73206954d4
commit b8213a1298

View File

@ -227,12 +227,12 @@ static void sha4_process( sha4_context *ctx, const unsigned char data[128] )
void sha4_update( sha4_context *ctx, const unsigned char *input, size_t ilen )
{
size_t fill;
unsigned int64 left;
unsigned int left;
if( ilen <= 0 )
return;
left = ctx->total[0] & 0x7F;
left = (unsigned int) (ctx->total[0] & 0x7F);
fill = 128 - left;
ctx->total[0] += (unsigned int64) ilen;