*** empty log message ***

This commit is contained in:
fc_botelho 2008-03-25 20:44:12 +00:00
parent 0892a6ec30
commit 1f42de94f2

View File

@ -279,8 +279,8 @@ int main(int argc, char **argv)
return -1; return -1;
} }
cmph_uint32 siz = cmph_size(mphf); cmph_uint32 siz = cmph_size(mphf);
hashtable = (cmph_uint8*)malloc(source->nkeys*sizeof(cmph_uint8)); hashtable = (cmph_uint8*)malloc(siz*sizeof(cmph_uint8));
memset(hashtable, 0, source->nkeys); memset(hashtable, 0, siz);
//check all keys //check all keys
for (i = 0; i < source->nkeys; ++i) for (i = 0; i < source->nkeys; ++i)
{ {