fix !CONFIG_FLOAT_DURATION build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
78a5ef9d2c
commit
6791140123
@ -73,6 +73,6 @@ void FAST_FUNC sleep_for_duration(duration_t duration)
|
|||||||
#else
|
#else
|
||||||
duration_t FAST_FUNC parse_duration_str(char *str)
|
duration_t FAST_FUNC parse_duration_str(char *str)
|
||||||
{
|
{
|
||||||
return xatou_range_sfx(*argv, 0, UINT_MAX, duration_suffixes);
|
return xatou_range_sfx(str, 0, UINT_MAX, duration_suffixes);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user