* src/base/ftdbgmem.c (ft_mem_debug_realloc): Make it compile with C++.
diff --git a/ChangeLog b/ChangeLog
index 9712a87..6ba6418 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-23 Werner Lemberg <wl@gnu.org>
+
+ * src/base/ftdbgmem.c (ft_mem_debug_realloc): Make it compile with
+ C++.
+
2005-10-21 David Turner <david@freetype.org>
* src/base/ftdbgmem.c (ft_mem_table_set, ft_mem_debug_realloc):
diff --git a/src/base/ftdbgmem.c b/src/base/ftdbgmem.c
index 6e53cf0..4c1e68d 100644
--- a/src/base/ftdbgmem.c
+++ b/src/base/ftdbgmem.c
@@ -790,7 +790,7 @@
if ( new_block == NULL )
return NULL;
- ft_mem_table_set( table, new_block, new_size, delta );
+ ft_mem_table_set( table, (FT_Byte*)new_block, new_size, delta );
ft_memcpy( new_block, block, cur_size < new_size ? cur_size : new_size );