Fixed void pointer arithmetic