added patches for string constant to char* warnings