diff options
author | Yang Tse <yangsita@gmail.com> | 2010-08-04 19:05:09 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-08-04 19:05:09 +0200 |
commit | 364fd2f1ada84eb713ec14629ca66fa332b19851 (patch) | |
tree | 5da7164a720adf4b51663bb46f4440db23824d88 /lib/md4.c | |
parent | 1cbe66fbc8e7d6c174c1919a905b768b9c48e1f8 (diff) | |
download | curl-364fd2f1ada84eb713ec14629ca66fa332b19851.tar.gz |
build: remove unneeded cast to (void *)
Diffstat (limited to 'lib/md4.c')
-rw-r--r-- | lib/md4.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -122,7 +122,7 @@ static void MD4Update(MD4_CTX *context, const unsigned char *input, /* Transform as many times as possible. */ if (inputLen >= partLen) { - memcpy((void *)&context->buffer[bufindex], (void *)input, partLen); + memcpy(&context->buffer[bufindex], input, partLen); MD4Transform (context->state, context->buffer); for (i = partLen; i + 63 < inputLen; i += 64) @@ -134,7 +134,7 @@ static void MD4Update(MD4_CTX *context, const unsigned char *input, i = 0; /* Buffer remaining input */ - memcpy((void *)&context->buffer[bufindex], (void *)&input[i], inputLen-i); + memcpy(&context->buffer[bufindex], &input[i], inputLen-i); } /* MD4 padding. */ |