V
Victor Bazarov
Richard said:In message <[email protected]>,
Victor Bazarov said:Jeff wrote:
[...]
hash_t *pt_htable = (hash_t *) new char[g_TTable_size*sizeof(hash_t)];
a) There is no need to cast the result.
As he wrote it, there is :-( He's allocating chars, not hash_t's.
You're right. I just didn't look! Damn...