Somil Gupta commented: https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/issues/9#note_144441 I've opened a merge request to address the warning in `ticker/low_ticker2/init.c`. The code previously used `%zd` for `uptime.tv_sec`, which expects a `size_t`, while `tv_sec` is `time_t`. I updated the format specifier to `%ld` and cast `uptime.tv_sec` to `long` so the argument type matches the specifier. I chose `long` instead of `long long` this keeps the formatting portable while removing the warning seen . Please let me know if you’d prefer a different approach. @joel -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/issues/9#note_144441 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
