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

fix different sign complication error

This commit is contained in:
sticilface 2020-11-07 19:40:45 +00:00
parent 4afa2d4502
commit 5022cf0ff7

View File

@ -89,7 +89,7 @@ public:
size_t doneLen = 0;
size_t sentLen;
while (src.available() > sizeof(obuf)){
while (src.available() > (int)sizeof(obuf)){
src.read(obuf, sizeof(obuf));
sentLen = write(obuf, sizeof(obuf));
doneLen = doneLen + sentLen;