diff options
author | Jim Meyering <jim@meyering.net> | 1996-10-20 18:44:39 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-10-20 18:44:39 +0000 |
commit | 412cc2f3fc6acd272680f2d57b88397f775d2a5e (patch) | |
tree | 97360a33254cadc9b0ccc8c7c122bc275637695e | |
parent | 3cbc95de84876babc2a7204917d45c749bb28f31 (diff) | |
download | coreutils-412cc2f3fc6acd272680f2d57b88397f775d2a5e.tar.xz |
(md5_process_bytes): Cast void* pointer to char* before
doing arithmetic with it.
-rw-r--r-- | lib/md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -221,7 +221,7 @@ md5_process_bytes (buffer, len, ctx) ctx->buflen = (left_over + add) & 63; } - buffer += add; + buffer = (const char *) buffer + add; len -= add; } @@ -229,7 +229,7 @@ md5_process_bytes (buffer, len, ctx) if (len > 64) { md5_process_block (buffer, len & ~63, ctx); - buffer += len & ~63; + buffer = (const char *) buffer + (len & ~63); len &= 63; } |