forked from minhngoc25a/freetype2
Fix compilation with C++.
* src/base/md5.c (body): Use proper cast.
This commit is contained in:
parent
d135e27c23
commit
dd192ef0b4
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue