]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix stupid compile error; I iz stupid.
authorNicholas Nethercote <njn@valgrind.org>
Mon, 21 Jul 2003 11:42:27 +0000 (11:42 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Mon, 21 Jul 2003 11:42:27 +0000 (11:42 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1772

coregrind/vg_hashtable.c

index f2217872e7e35b9e3355a13c6cb38c0b67a7d1ff..6c277d42478633e5ad769f929bf91f45c48e974f 100644 (file)
@@ -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 )