I suspect it should be a const char pointer.