From: Nicholas Nethercote Date: Mon, 21 Jul 2003 11:42:27 +0000 (+0000) Subject: Fix stupid compile error; I iz stupid. X-Git-Tag: svn/VALGRIND_2_0_0~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1060d6b3e2be02f4474cbe1146a5eebd98212779;p=thirdparty%2Fvalgrind.git Fix stupid compile error; I iz stupid. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1772 --- diff --git a/coregrind/vg_hashtable.c b/coregrind/vg_hashtable.c index f2217872e7..6c277d4247 100644 --- a/coregrind/vg_hashtable.c +++ b/coregrind/vg_hashtable.c @@ -47,7 +47,7 @@ VgHashTable VG_(HT_construct)(void) { /* Initialises to zero, ie. all entries NULL */ - return VG_(calloc)(VG_N_CHAINS * sizeof(VgHashNode*)); + return VG_(calloc)(VG_N_CHAINS, sizeof(VgHashNode*)); } Int VG_(HT_count_nodes) ( VgHashTable table )