mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-20 22:17:20 +08:00
avoid warning
This commit is contained in:
parent
d0c2631b12
commit
9b428e519f
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user