Modification of the argument char * into const char *