mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-13 13:01:55 +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";
|
||||
|
||||
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