Change char* to const char* to avoid compiler warnings