Skip to content

Commit

Permalink
Fix UdpContext::peek to return int (esp8266#1946)
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Apr 26, 2016
1 parent 3348375 commit 33723a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/ESP8266WiFi/src/include/UdpContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class UdpContext
return size;
}

char peek()
int peek()
{
if (!_rx_buf || _rx_buf_offset == _rx_buf->len)
return -1;
Expand Down

0 comments on commit 33723a9

Please sign in to comment.