summaryrefslogtreecommitdiff
path: root/md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'md5.c')
-rw-r--r--md5.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/md5.c b/md5.c
index 03d492c91..2c63ee876 100644
--- a/md5.c
+++ b/md5.c
@@ -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);