提交 9b428e51 编写于 作者: mysterywolf's avatar mysterywolf

avoid warning

上级 d0c2631b
...@@ -329,7 +329,7 @@ int settimeofday(const struct timeval *tv, const struct timezone *tz) ...@@ -329,7 +329,7 @@ int settimeofday(const struct timeval *tv, const struct timezone *tz)
{ {
if (tv != RT_NULL) if (tv != RT_NULL)
{ {
return stime(&tv->tv_sec); return stime((const time_t *)&tv->tv_sec);
} }
else else
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册