Make hexprint take a void pointer

This avoids warnings about mismatched pointer types.