You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/11/20 13:34:58 UTC

[incubator-nuttx] 06/26: Fix chip/kinetis_enet.c:875:59: error: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 232360cbd00e8b3ddb47f8cfa15e44085d275db5
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sat Nov 19 12:24:52 2022 +0800

    Fix chip/kinetis_enet.c:875:59: error: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 arch/arm/src/kinetis/kinetis_enet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/src/kinetis/kinetis_enet.c b/arch/arm/src/kinetis/kinetis_enet.c
index 779a15fabe..bc8f206645 100644
--- a/arch/arm/src/kinetis/kinetis_enet.c
+++ b/arch/arm/src/kinetis/kinetis_enet.c
@@ -872,7 +872,7 @@ static void kinetis_interrupt_work(void *arg)
     {
       /* An error has occurred, update statistics */
 
-      nerr("pending %0" PRIx32 "d ints %0lxd\n", pending, priv->ints);
+      nerr("pending %0" PRIx32 "ints %0" PRIx32 "\n", pending, priv->ints);
 
       NETDEV_ERRORS(&priv->dev);