Commit b8213a12 authored by Paul Bakker's avatar Paul Bakker
Browse files

- Minor update in types to prevent compiler warning under VS2010

parent 73206954
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment