|
From: <du...@ma...> - 2009-06-21 05:15:34
|
Author: duane
Date: 2009-06-21 05:15:32 +0200 (Sun, 21 Jun 2009)
New Revision: 2305
Modified:
trunk/src/target/arm966e.c
Log:
C99 printf() -Werror fixes
Modified: trunk/src/target/arm966e.c
===================================================================
--- trunk/src/target/arm966e.c 2009-06-21 03:15:28 UTC (rev 2304)
+++ trunk/src/target/arm966e.c 2009-06-21 03:15:32 UTC (rev 2305)
@@ -295,7 +295,7 @@
return retval;
}
- command_print(cmd_ctx, "%i: %8.8x", address, value);
+ command_print(cmd_ctx, "%i: %8.8" PRIx32 "", address, value);
}
else if (argc == 2)
{
@@ -305,7 +305,7 @@
command_print(cmd_ctx, "couldn't access reg %i", address);
return ERROR_OK;
}
- command_print(cmd_ctx, "%i: %8.8x", address, value);
+ command_print(cmd_ctx, "%i: %8.8" PRIx32 "", address, value);
}
}
|