mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-26 07:02:15 +03:00
Add explicit cast (#1903)
This commit is contained in:
@ -855,7 +855,7 @@ bool HTTPClient::sendHeader(const char * type)
|
|||||||
|
|
||||||
header += _headers + "\r\n";
|
header += _headers + "\r\n";
|
||||||
|
|
||||||
return (_tcp->write(header.c_str(), header.length()) == header.length());
|
return (_tcp->write((const uint8_t *) header.c_str(), header.length()) == header.length());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user