diff options
author | Werner Lemberg <wl@gnu.org> | 2013-05-05 16:13:01 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2013-05-05 16:13:01 +0200 |
commit | dd192ef0b4f43e9ed2c69f37cb6e2d2062405cde (patch) | |
tree | 7f328ae8dab07e4c96b020de90f7d5de0d6903be /src/base/md5.c | |
parent | d135e27c23c089c64581065d5af6f962012fdf37 (diff) | |
download | freetype2-dd192ef0b4f43e9ed2c69f37cb6e2d2062405cde.tar.gz |
Fix compilation with C++.
* src/base/md5.c (body): Use proper cast.
Diffstat (limited to 'src/base/md5.c')
-rw-r--r-- | src/base/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/md5.c b/src/base/md5.c index 7d43a603a..2f01c9302 100644 --- a/src/base/md5.c +++ b/src/base/md5.c @@ -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; |