fix usage of void * used in arithmetic
Add -Wpointer-arith