antithread: avoid arithmetic on void pointers