avoid warning

This commit is contained in:
Meco Man 2021-02-08 10:42:50 +08:00
parent d0c2631b12
commit 9b428e519f
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ int settimeofday(const struct timeval *tv, const struct timezone *tz)
{
if (tv != RT_NULL)
{
return stime(&tv->tv_sec);
return stime((const time_t *)&tv->tv_sec);
}
else
{