diff options
author | David Cole <david.cole@kitware.com> | 2009-07-08 20:18:19 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-07-08 20:18:19 (GMT) |
commit | 02c9633433396265a2c768a69297e1793841a821 (patch) | |
tree | 17dea1fedb0fac86e9dae682c3dbaefec01f7dba /Source/kwsys/MD5.c | |
parent | 80d32d96f363cd07e1ad23ec1a2028a8e55e2052 (diff) | |
download | CMake-02c9633433396265a2c768a69297e1793841a821.zip CMake-02c9633433396265a2c768a69297e1793841a821.tar.gz CMake-02c9633433396265a2c768a69297e1793841a821.tar.bz2 |
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.)
Diffstat (limited to 'Source/kwsys/MD5.c')
-rw-r--r-- | Source/kwsys/MD5.c | 2 |
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]++; |