|
From: <du...@ma...> - 2009-06-21 05:17:27
|
Author: duane
Date: 2009-06-21 05:17:23 +0200 (Sun, 21 Jun 2009)
New Revision: 2323
Modified:
trunk/src/target/mips_ejtag.c
Log:
C99 printf() -Werror fixes
Modified: trunk/src/target/mips_ejtag.c
===================================================================
--- trunk/src/target/mips_ejtag.c 2009-06-21 03:17:16 UTC (rev 2322)
+++ trunk/src/target/mips_ejtag.c 2009-06-21 03:17:23 UTC (rev 2323)
@@ -211,7 +211,7 @@
/* break bit will be cleared by hardware */
ejtag_ctrl = ejtag_info->ejtag_ctrl;
mips_ejtag_drscan_32(ejtag_info, &ejtag_ctrl);
- LOG_DEBUG("ejtag_ctrl: 0x%8.8x", ejtag_ctrl);
+ LOG_DEBUG("ejtag_ctrl: 0x%8.8" PRIx32 "", ejtag_ctrl);
if((ejtag_ctrl & EJTAG_CTRL_BRKST) == 0)
LOG_DEBUG("Failed to enter Debug Mode!");
@@ -261,7 +261,7 @@
uint32_t ejtag_version;
mips_ejtag_get_impcode(ejtag_info, &ejtag_info->impcode);
- LOG_DEBUG("impcode: 0x%8.8x", ejtag_info->impcode);
+ LOG_DEBUG("impcode: 0x%8.8" PRIx32 "", ejtag_info->impcode);
/* get ejtag version */
ejtag_version = ((ejtag_info->impcode >> 29) & 0x07);
|