summaryrefslogtreecommitdiff
path: root/md5.c
diff options
context:
space:
mode:
authorhackykid <hackykid@openttd.org>2005-06-01 11:52:44 +0000
committerhackykid <hackykid@openttd.org>2005-06-01 11:52:44 +0000
commitf7dcd2e834c28e7b4e4ba6e7833cf79c3b97b335 (patch)
tree85ffc0991699f19e38f7e937f8b493274594c341 /md5.c
parent351d7aaa9fd2fe1e5cd464130186727df38e646f (diff)
downloadopenttd-f7dcd2e834c28e7b4e4ba6e7833cf79c3b97b335.tar.xz
(svn r2390) - Codechange: Fix some warnings on GCC 4.0.0
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);