lib.c: Don't try pointer arithmetic on void pointers.