Skip to content

Commit

Permalink
Add cast to prevent warning on AVR
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepmistry committed Sep 20, 2016
1 parent b934478 commit 9384c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WiFi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ uint32_t WiFiClass::getTime()

_resolve = 0;

if (t == -1) {
if (t == (time_t)-1) {
t = 0;
}

Expand Down

0 comments on commit 9384c5b

Please sign in to comment.