you probably need to cast to const char * or something.