>> #elif PLATFORM(HAIKU) >> void *address = memalign(BLOCK_SIZE, BLOCK_SIZE); >> memset(reinterpret_cast<void*>(address), 0, BLOCK_SIZE); >> #else > > The reinterpret_cast isn't required, and if your code is written in > a way that it doesn't need 0 initialized memory, it makes sense > to fill the memory for debugging purposes with a different value, > for example 0xCC. I didn't think the reinterpret_cast was necessary, but the code he's modifying had essentially the same thing in another #elif for a different platform... I was just following the pattern others had apparently set. Silly me. :-) -Bryan