diff --git a/components/libc/compilers/dlib/time.c b/components/libc/compilers/dlib/time.c index bea01e90e54e5963c7005977b71f06c712fcf807..12c7f893e97d8f9c90e169f5381d28d08f4bd3fc 100644 --- a/components/libc/compilers/dlib/time.c +++ b/components/libc/compilers/dlib/time.c @@ -42,9 +42,9 @@ int gettimeofday(struct timeval *tp, void *ignore) */ #pragma module_name = "?time" #if _DLIB_TIME_ALLOW_64 -time_t __time64(time_t *t) +__time64_t __time64(__time64_t *t) #else -time_t __time32(time_t *t) +__time32_t __time32(__time32_t *t) #endif { time_t time_now = 0;