make chunk of data "void *" instead of "unsigned char *"