Skip to content
Snippets Groups Projects
Commit ca31e03d authored by David Cole's avatar David Cole
Browse files

COMP: Eliminate "conversion may change sign of result" warnings by using...

COMP: Eliminate "conversion may change sign of result" warnings by using size_t where appropriate. (Missed one warning with last commit: add a cast to md5_word_t.)
parent 2ec05e11
No related branches found
No related tags found
No related merge requests found
......@@ -382,7 +382,7 @@ static void md5_append(md5_state_t *pms, const md5_byte_t *data, size_t nbytes)
return;
/* Update the message length. */
pms->count[1] += nbytes >> 29;
pms->count[1] += (md5_word_t)(nbytes >> 29);
pms->count[0] += nbits;
if (pms->count[0] < nbits)
pms->count[1]++;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment