Skip to content

Commit

Permalink
Add explicit cast (esp8266#1903)
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Apr 13, 2016
1 parent 4638000 commit 84daa1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/ESP8266HTTPClient/src/ESP8266HTTPClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

/**
Expand Down

0 comments on commit 84daa1a

Please sign in to comment.