t
Fork of mbed-dev by
Diff: platform/mbed_rtc_time.cpp
- Revision:
- 170:e3b6fe271b81
- Parent:
- 168:e84263d55307
- Child:
- 176:af195413fb11
diff -r 9672193075cf -r e3b6fe271b81 platform/mbed_rtc_time.cpp --- a/platform/mbed_rtc_time.cpp Thu Jul 06 15:42:05 2017 +0100 +++ b/platform/mbed_rtc_time.cpp Wed Jul 19 17:31:21 2017 +0100 @@ -53,7 +53,7 @@ } } - time_t t = -1; + time_t t = (time_t)-1; if (_rtc_read != NULL) { t = _rtc_read(); }