summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/MD5.c
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys/MD5.c')
-rw-r--r--Source/kwsys/MD5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/MD5.c b/Source/kwsys/MD5.c
index 8d2905a..915a731 100644
--- a/Source/kwsys/MD5.c
+++ b/Source/kwsys/MD5.c
@@ -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]++;