ref: dd192ef0b4f43e9ed2c69f37cb6e2d2062405cde
parent: d135e27c23c089c64581065d5af6f962012fdf37
author: Werner Lemberg <[email protected]>
date: Sun May 5 12:13:01 EDT 2013
Fix compilation with C++. * src/base/md5.c (body): Use proper cast.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2013-05-05 Werner Lemberg <[email protected]>
+ Fix compilation with C++.
+
+ * src/base/md5.c (body): Use proper cast.
+
+2013-05-05 Werner Lemberg <[email protected]>
+
Fix 64bit compilation issues.
* include/freetype/config/ftconfig.h [FT_LONG64]: Typedef
--- a/src/base/md5.c
+++ b/src/base/md5.c
@@ -95,7 +95,7 @@
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;