mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 11:30:01 +08:00
avoid warning
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user