Somil Gupta created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/23

Project:Branches: somil/rtems-examples:fix-low-ticker-warning to 
rtems/rtos/rtems-examples:main
Author:   Somil Gupta



## Summary

examples/ticker: Fix format specifier warning in low_ticker2

The format specifier expected size_t but uptime.tv_sec is of type
time_t. Cast uptime.tv_sec to long and use %ld to match the argument
type and avoid compiler warnings.

Related to #9


## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise 
leave this blank see our fulls statement at 
https://www.rtems.org/generative-ai/-->


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems-examples/-/merge_requests/23
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

Reply via email to