We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 414c189 commit 116b2aeCopy full SHA for 116b2ae
src/clock.c
@@ -86,7 +86,7 @@ RTM_EXPORT(rt_tick_get);
86
if (tnow >= last_time) {
87
return (tnow - last_time);
88
} else {
89
- return (UINT32_MAX - last_time + tnow + 1);
+ return (RT_TICK_MAX - last_time + tnow + 1);
90
}
91
92
RTM_EXPORT(rt_delta_tick_get);
0 commit comments