test
Fork of mbed-dev by
Diff: platform/mbed_mktime.c
- Revision:
- 170:e3b6fe271b81
- Parent:
- 168:e84263d55307
diff -r 9672193075cf -r e3b6fe271b81 platform/mbed_mktime.c --- a/platform/mbed_mktime.c Thu Jul 06 15:42:05 2017 +0100 +++ b/platform/mbed_mktime.c Wed Jul 19 17:31:21 2017 +0100 @@ -105,7 +105,7 @@ } if (result > INT32_MAX) { - return -1; + return (time_t) -1; } return result;