ref: 6c0e734f2636dd3459e64ad0717c0c710340ae63
parent: 84cacd2391b7dbd372f63149ca733f34d0713550
author: Werner Lemberg <[email protected]>
date: Sun Oct 23 15:31:01 EDT 2005
* src/base/ftdbgmem.c (ft_mem_debug_realloc): Make it compile with C++.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-23 Werner Lemberg <[email protected]>
+
+ * src/base/ftdbgmem.c (ft_mem_debug_realloc): Make it compile with
+ C++.
+
2005-10-21 David Turner <[email protected]>
* src/base/ftdbgmem.c (ft_mem_table_set, ft_mem_debug_realloc):
--- 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 );