JordanYates opened a new pull request #91:
URL: https://github.com/apache/mynewt-mcumgr/pull/91


   Fix print format specifier which throws warnings when minimal libc is not 
used. 
   The base type of off_t varies depending on whether minimal libc is used. 
   Minimal libc defines off_t as int, while gcc-arm-eabi-2020-q2 for example 
defines it as a long.
   
   The value is explicitly cast to a long and the long format specifier used to 
fix the warning.
   
   Signed-off-by: Jordan Yates <[email protected]>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to