* src/base/ftdbgmem.c (ft_mem_debug_realloc): Make it compile with

C++.
This commit is contained in:
Werner Lemberg 2005-10-23 19:31:01 +00:00
parent 84cacd2391
commit 6c0e734f26
2 changed files with 6 additions and 1 deletions

View File

@ -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):

View File

@ -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 );