]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
DARWIN sync: malloc_usable_size return value should be SizeT.
authorNicholas Nethercote <njn@valgrind.org>
Tue, 19 May 2009 08:00:06 +0000 (08:00 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Tue, 19 May 2009 08:00:06 +0000 (08:00 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9984

coregrind/m_replacemalloc/vg_replace_malloc.c

index e5dcbb30dca2729a7b23f39fa136ee81029a171d..5e2757bae7400a3b562fe58e11765770b37f00f5 100644 (file)
@@ -550,8 +550,8 @@ POSIX_MEMALIGN(VG_Z_LIBC_SONAME, memalign_common);
 
 #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; \
       \