add work around for literal to char* conversion

add explicit cast to convert a literal to a char pointer