You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/05/03 21:11:21 UTC
[GitHub] [incubator-nuttx] gustavonihei commented on a change in pull request #3651: Use inttypes in stm32{f7|h7}, Kinetis, s32k drivers.
gustavonihei commented on a change in pull request #3651:
URL: https://github.com/apache/incubator-nuttx/pull/3651#discussion_r625370767
##########
File path: arch/arm/src/stm32f7/stm32_can.c
##########
@@ -322,7 +323,7 @@ static uint32_t stm32can_vgetreg(uint32_t addr)
{
/* Yes.. then show how many times the value repeated */
- caninfo("[repeats %d more times]\n", count - 3);
+ caninfo("[repeats %" PRId32 " more times]\n", count - 3);
Review comment:
```suggestion
caninfo("[repeats %" PRIu32 " more times]\n", count - 3);
```
`count` has `uint32_t` type
--
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:
users@infra.apache.org