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…
Reference in New Issue