1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Add explicit cast (#1903)

This commit is contained in:
Ivan Grokhotkov 2016-04-13 14:03:11 +03:00
parent 46380003d5
commit 84daa1a108

View File

@ -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());
}
/**