Fix const char warning