http: typecast the httpreq assignment to avoid icc compiler warning
error #188: enumerated type mixed with another type Closes #9179
This commit is contained in:
parent
dcbc9226bc
commit
8d1da2e172
@ -2032,7 +2032,7 @@ CURLcode Curl_add_timecondition(struct Curl_easy *data,
|
||||
void Curl_http_method(struct Curl_easy *data, struct connectdata *conn,
|
||||
const char **method, Curl_HttpReq *reqp)
|
||||
{
|
||||
Curl_HttpReq httpreq = data->state.httpreq;
|
||||
Curl_HttpReq httpreq = (Curl_HttpReq)data->state.httpreq;
|
||||
const char *request;
|
||||
if((conn->handler->protocol&(PROTO_FAMILY_HTTP|CURLPROTO_FTP)) &&
|
||||
data->set.upload)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user