1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Fixing warnings in Ethernet library (Paul Stoffregen).

http://code.google.com/p/arduino/issues/detail?id=208
This commit is contained in:
David A. Mellis
2011-10-02 10:17:33 -04:00
parent 85c109f255
commit 965480f148
8 changed files with 12 additions and 13 deletions

View File

@ -243,7 +243,7 @@ uint8_t DhcpClass::parseDHCPResponse(unsigned long responseTimeout, uint32_t& tr
// Skip to the option part
// Doing this a byte at a time so we don't have to put a big buffer
// on the stack (as we don't have lots of memory lying around)
for (int i =0; i < (240 - sizeof(RIP_MSG_FIXED)); i++)
for (int i =0; i < (240 - (int)sizeof(RIP_MSG_FIXED)); i++)
{
_dhcpUdpSocket.read(); // we don't care about the returned byte
}