error: invalid operands to binary
warning: pointer targets in assignment differ in signedness
CURLcode result;
struct SessionHandle *data = conn->data;
unsigned char *path;
- unsigned char *tmp;
+ char *tmp;
char *response;
size_t len;
if(authp->iestyle && ((tmp = strchr((char *)uripath, '?')) != NULL)) {
size_t urilen = tmp - (char *)uripath;
- path = aprintf("%.*s", urilen, uripath);
+ path = (unsigned char *) aprintf("%.*s", urilen, uripath);
}
else
- path = strdup((char *) uripath);
+ path = (unsigned char *) strdup((char *)uripath);
if(!path)
return CURLE_OUT_OF_MEMORY;