C99 printf() -Werror fixes
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 21 Jun 2009 03:17:16 +0000 (03:17 +0000)
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 21 Jun 2009 03:17:16 +0000 (03:17 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2322 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/mips32_pracc.c

index 59a9fb027594a06811e73921fa00a531dab6d2e3..61a0ae54cc5756abe945fe8cf49f35aa8fdf514e 100644 (file)
@@ -143,7 +143,7 @@ static int mips32_pracc_exec_read(mips32_pracc_context *ctx, uint32_t address)
                 * to start of debug vector */
                
                data = 0;
-               LOG_ERROR("Error reading unexpected address %8.8x", address);
+               LOG_ERROR("Error reading unexpected address %8.8" PRIx32 "", address);
                return ERROR_JTAG_DEVICE_ERROR;
        }
        
@@ -200,7 +200,7 @@ static int mips32_pracc_exec_write(mips32_pracc_context *ctx, uint32_t address)
        }
        else
        {
-               LOG_ERROR("Error writing unexpected address %8.8x", address);
+               LOG_ERROR("Error writing unexpected address %8.8" PRIx32 "", address);
                return ERROR_JTAG_DEVICE_ERROR;
        }