avoid implicit conversion from void* to char*