|
From: <sv...@va...> - 2009-05-19 08:00:15
|
Author: njn
Date: 2009-05-19 09:00:06 +0100 (Tue, 19 May 2009)
New Revision: 9984
Log:
DARWIN sync: malloc_usable_size return value should be SizeT.
Modified:
trunk/coregrind/m_replacemalloc/vg_replace_malloc.c
Modified: trunk/coregrind/m_replacemalloc/vg_replace_malloc.c
===================================================================
--- trunk/coregrind/m_replacemalloc/vg_replace_malloc.c 2009-05-19 07:56:55 UTC (rev 9983)
+++ trunk/coregrind/m_replacemalloc/vg_replace_malloc.c 2009-05-19 08:00:06 UTC (rev 9984)
@@ -550,8 +550,8 @@
#define MALLOC_USABLE_SIZE(soname, fnname) \
\
- int VG_REPLACE_FUNCTION_ZU(soname, fnname) ( void* p ); \
- int VG_REPLACE_FUNCTION_ZU(soname, fnname) ( void* p ) \
+ SizeT VG_REPLACE_FUNCTION_ZU(soname, fnname) ( void* p ); \
+ SizeT VG_REPLACE_FUNCTION_ZU(soname, fnname) ( void* p ) \
{ \
SizeT pszB; \
\
|