When constructing a LeakErr, the (Char*) .string field is abused to
carry an Int. This is confusing but works on 32-bit platforms; on
64-bit ones, gcc complains about the cast. This commit adds another
kludge to keep gcc quiet. Really this should be fixed properly. The
casting-abuse is 'undone' in case LeakErr in MAC_(pp_Shared_Error).
This should really be fixed properly. If this .string isn't always
a string, perhaps it should be renamed 'auxword' and turned into a
UWord which is guaranteed castable to/from pointer on any platform.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3676 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed