Skip to content

Commit 33723a9

Browse files
committed
Fix UdpContext::peek to return int (#1946)
1 parent 3348375 commit 33723a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP8266WiFi/src/include/UdpContext.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class UdpContext
213213
return size;
214214
}
215215

216-
char peek()
216+
int peek()
217217
{
218218
if (!_rx_buf || _rx_buf_offset == _rx_buf->len)
219219
return -1;

0 commit comments

Comments
 (0)