The C type for a string should be a const char *.