Skip to content
Success

Changes

Summary

  1. core: fix printf format casts for struct timeval fields (details)
Commit da7bf8d074f3ca7f1b013d4fa686aa0ddec5b66a by dtv.comp
core: fix printf format casts for struct timeval fields

Explicitly cast struct timeval fields to long when passing them to
printf-style functions.

This avoids compiler warnings/errors on platforms where tv_sec or
tv_usec are not exactly of type long, while keeping the existing log
and control output unchanged.

Change-Id: Icac9e392c728948a7976970658e37f5e0da41709
The file was modifiedsrc/core/fsm.c
The file was modifiedsrc/ctrl/fsm_ctrl_commands.c