mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
fix different sign complication error
This commit is contained in:
parent
4afa2d4502
commit
5022cf0ff7
@ -89,7 +89,7 @@ public:
|
|||||||
size_t doneLen = 0;
|
size_t doneLen = 0;
|
||||||
size_t sentLen;
|
size_t sentLen;
|
||||||
|
|
||||||
while (src.available() > sizeof(obuf)){
|
while (src.available() > (int)sizeof(obuf)){
|
||||||
src.read(obuf, sizeof(obuf));
|
src.read(obuf, sizeof(obuf));
|
||||||
sentLen = write(obuf, sizeof(obuf));
|
sentLen = write(obuf, sizeof(obuf));
|
||||||
doneLen = doneLen + sentLen;
|
doneLen = doneLen + sentLen;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user