mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
Fix UdpContext::peek to return int (#1946)
This commit is contained in:
@ -213,7 +213,7 @@ public:
|
|||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
char peek()
|
int peek()
|
||||||
{
|
{
|
||||||
if (!_rx_buf || _rx_buf_offset == _rx_buf->len)
|
if (!_rx_buf || _rx_buf_offset == _rx_buf->len)
|
||||||
return -1;
|
return -1;
|
||||||
|
Reference in New Issue
Block a user