mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-31 03:38:02 +08:00
Merge pull request #2518 from ErnestChen1/master
[src/clock.c] avoid warning
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ rt_tick_t rt_tick_from_millisecond(rt_int32_t ms)
|
|||||||
|
|
||||||
if (ms < 0)
|
if (ms < 0)
|
||||||
{
|
{
|
||||||
tick = RT_WAITING_FOREVER;
|
tick = (rt_tick_t)RT_WAITING_FOREVER;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user