1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-02 14:22:55 +03:00

make compiler happier

This commit is contained in:
Me No Dev
2015-11-25 18:11:16 +02:00
parent dea1d46f80
commit a44632b8cf
11 changed files with 45 additions and 39 deletions

View File

@ -311,7 +311,7 @@ bool WiFiClientSecure::verify(const char* fp, const char* url) {
uint8_t sha1[20];
int len = strlen(fp);
int pos = 0;
for (int i = 0; i < sizeof(sha1); ++i) {
for (size_t i = 0; i < sizeof(sha1); ++i) {
while (pos < len && fp[pos] == ' ') {
++pos;
}