Il 20/09/2012 08:41, Bharata B Rao ha scritto: >> > Would look a bit nicer with strstart() form cutils.c instead of strncmp(). > strstart() works with const char pointers, but I have char pointers here > which I need to modify.
You can pass a char* to a function that accepts const char*. In your case, the last argument to strstart would be NULL. Paolo