> -----Original Message----- > From: [EMAIL PROTECTED] > Log: > iSeries C compiler didn't like cast between const and non const. > >
IMO the function prototype should stay const char* or modified to char** if the pointer needs to be changed, but since it isn't it should stay const char *. The problem is later in the code where the function param is assigned with local char * (uri = clean_uri;), and that is what should be changed, not the function call itself. Further more all the functions protos should be changed to const char *, that are now char *. MT. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]