(svn r2390) - Codechange: Fix some warnings on GCC 4.0.0

This commit is contained in:
hackykid
2005-06-01 11:52:44 +00:00
parent 351d7aaa9f
commit f7dcd2e834
10 changed files with 18 additions and 12 deletions

4
md5.c
View File

@@ -321,9 +321,9 @@ md5_init(md5_state_t *pms)
}
void
md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes)
md5_append(md5_state_t *pms, const void *data, int nbytes)
{
const md5_byte_t *p = data;
const md5_byte_t *p = (const md5_byte_t *)data;
int left = nbytes;
int offset = (pms->count[0] >> 3) & 63;
md5_word_t nbits = (md5_word_t)(nbytes << 3);