api: Fix narrowing conversion C++ compilation warning in Z_TIMEOUT_TICKS
Assignement in Z_TIMEOUT_TICKS macro causes narrowing
conversion warning in Z_TIMEOUT_TICKS.
Explicit cast to type of ticks field makes compiler happy.
Fixes #26369
Signed-off-by:
Artur Lipowski <Artur.Lipowski@hidglobal.com>
Loading
Please sign in to comment