Cast to char* is unnecessary.