1
0
mirror of https://github.com/taigrr/arduinolibs synced 2025-01-18 04:33:12 -08:00
Chris a707bc36b7
Correct -Wsign-compare warnings
Corrected -Wsign-compare warnings on ESP8266 under platformio.

/home/travis/.platformio/lib/Crypto_ID1168/RNG.cpp: In member function 'void RNGClass::rand(uint8_t*, size_t)':
/home/travis/.platformio/lib/Crypto_ID1168/RNG.cpp:574:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (len > (credits / 8))
^
/home/travis/.platformio/lib/Crypto_ID1168/RNG.cpp: In member function 'bool RNGClass::available(size_t) const':
/home/travis/.platformio/lib/Crypto_ID1168/RNG.cpp:665:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return len <= (credits / 8);
^
/home/travis/.platformio/lib/Crypto_ID1168/RNG.cpp: In member function 'void RNGClass::stir(const uint8_t*, size_t, unsigned int)':
/home/travis/.platformio/lib/Crypto_ID1168/RNG.cpp:698:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((RNG_MAX_CREDITS - credits) > credit)
^
2018-04-23 13:41:37 -05:00
..
2018-04-02 15:02:42 +10:00
2014-12-31 09:59:52 +10:00
2015-01-03 13:24:07 +10:00
2015-01-03 13:24:07 +10:00
2015-01-03 13:24:07 +10:00
2015-01-03 13:24:07 +10:00
2015-03-31 19:02:21 +10:00
2015-03-31 19:02:21 +10:00
2016-03-16 19:19:11 +10:00
2015-03-31 19:02:21 +10:00
2015-01-03 13:24:07 +10:00
2014-12-31 09:59:52 +10:00
2015-04-18 08:42:37 +10:00
2015-04-18 08:42:37 +10:00
2015-04-01 16:14:18 +10:00
2016-02-20 16:12:32 +10:00
2016-02-20 16:12:32 +10:00
2016-02-07 13:30:21 +10:00
2016-03-16 19:19:11 +10:00
2015-01-03 13:24:07 +10:00
2015-01-03 13:24:07 +10:00
2016-03-26 19:03:31 +10:00
2018-04-23 13:41:37 -05:00
2016-01-16 09:08:28 +10:00
2016-01-16 09:08:28 +10:00
2015-04-18 08:42:37 +10:00
2015-11-30 18:23:21 +10:00
2016-02-20 16:12:32 +10:00
2016-02-20 16:12:32 +10:00