mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: platform/mbed_rtc_time.cpp
- Revision:
- 169:e3b6fe271b81
- Parent:
- 167:e84263d55307
- Child:
- 175:af195413fb11
--- 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(); }