|
@@ -416,7 +416,7 @@ md5_append(md5_state_t *pms, const md5_byte_t *data, size_t nbytes)
|
|
return;
|
|
return;
|
|
|
|
|
|
/* Update the message length. */
|
|
/* Update the message length. */
|
|
- pms->count[1] += nbytes >> 29;
|
|
|
|
|
|
+ pms->count[1] += (md5_word_t)(nbytes >> 29);
|
|
pms->count[0] += nbits;
|
|
pms->count[0] += nbits;
|
|
if (pms->count[0] < nbits)
|
|
if (pms->count[0] < nbits)
|
|
pms->count[1]++;
|
|
pms->count[1]++;
|