|
From: <du...@ma...> - 2009-06-21 05:17:21
|
Author: duane
Date: 2009-06-21 05:17:16 +0200 (Sun, 21 Jun 2009)
New Revision: 2322
Modified:
trunk/src/target/mips32_pracc.c
Log:
C99 printf() -Werror fixes
Modified: trunk/src/target/mips32_pracc.c
===================================================================
--- trunk/src/target/mips32_pracc.c 2009-06-21 03:17:10 UTC (rev 2321)
+++ trunk/src/target/mips32_pracc.c 2009-06-21 03:17:16 UTC (rev 2322)
@@ -143,7 +143,7 @@
* 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 @@
}
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;
}
|