Fix compilation with C++.

* src/base/md5.c (body): Use proper cast.
This commit is contained in:
Werner Lemberg 2013-05-05 16:13:01 +02:00
parent d135e27c23
commit dd192ef0b4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2013-05-05 Werner Lemberg <wl@gnu.org>
Fix compilation with C++.
* src/base/md5.c (body): Use proper cast.
2013-05-05 Werner Lemberg <wl@gnu.org>
Fix 64bit compilation issues.

View File

@ -95,7 +95,7 @@ static void *body(MD5_CTX *ctx, void *data, unsigned long size)
MD5_u32plus a, b, c, d;
MD5_u32plus saved_a, saved_b, saved_c, saved_d;
ptr = data;
ptr = (unsigned char *)data;
a = ctx->a;
b = ctx->b;