diff options
author | hackykid <hackykid@openttd.org> | 2005-06-01 11:52:44 +0000 |
---|---|---|
committer | hackykid <hackykid@openttd.org> | 2005-06-01 11:52:44 +0000 |
commit | f7dcd2e834c28e7b4e4ba6e7833cf79c3b97b335 (patch) | |
tree | 85ffc0991699f19e38f7e937f8b493274594c341 /md5.c | |
parent | 351d7aaa9fd2fe1e5cd464130186727df38e646f (diff) | |
download | openttd-f7dcd2e834c28e7b4e4ba6e7833cf79c3b97b335.tar.xz |
(svn r2390) - Codechange: Fix some warnings on GCC 4.0.0
Diffstat (limited to 'md5.c')
-rw-r--r-- | md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |