From: Bart Van Assche Date: Wed, 12 Mar 2008 16:44:52 +0000 (+0000) Subject: Fixed compiler warning. X-Git-Tag: svn/VALGRIND_3_4_0~902 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce529e4c3ee5e388698216490bc3d87e82324760;p=thirdparty%2Fvalgrind.git Fixed compiler warning. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7647 --- diff --git a/memcheck/tests/oset_test.c b/memcheck/tests/oset_test.c index 49b8000efc..5b05258ed5 100644 --- a/memcheck/tests/oset_test.c +++ b/memcheck/tests/oset_test.c @@ -370,7 +370,7 @@ void example2(void) // comparisons. OSet* oset = VG_(OSetGen_Create)(offsetof(Block, first), blockCmp, - malloc, free); + (void*)malloc, free); // Try some operations on an empty OSet to ensure they don't screw up. vg_assert( ! VG_(OSetGen_Contains)(oset, &v) );