jasonbu opened a new pull request, #17409:
URL: https://github.com/apache/nuttx/pull/17409

   ## Summary
   When we using code cross platform, the time_t is not supported by printf 
offcially,
   for compatible, we always to cast time_t to uint64_t and use PRIu64.
   The code should be ugly and a waste of stack, if we are really using 32bit 
time_t.
   Add a standard PRIdTM to handle the time_t print should prefer.
   
   ## Impact
   After patch, we will no longer need cast to int64_t again.
   
   ## Testing
   CI-test, qemu arm-v7a nsh, qemu arm-v8a nsh
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to