summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:22:10 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:22:10 +0000
commit4486321dd9caeca8dd4d7f49755c3cdb9947f551 (patch)
tree33b7616445ab168c35ef1e5eaaf5d59f64859620
parent4f79ba3ca0079776ecd8d898c5c6fe390b09dfab (diff)
downloadopenocd+libswd-4486321dd9caeca8dd4d7f49755c3cdb9947f551.tar.gz
openocd+libswd-4486321dd9caeca8dd4d7f49755c3cdb9947f551.tar.bz2
openocd+libswd-4486321dd9caeca8dd4d7f49755c3cdb9947f551.tar.xz
openocd+libswd-4486321dd9caeca8dd4d7f49755c3cdb9947f551.zip
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2344 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/flash/str9x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/str9x.c b/src/flash/str9x.c
index 52e7839a..45d5ebf0 100644
--- a/src/flash/str9x.c
+++ b/src/flash/str9x.c
@@ -514,7 +514,7 @@ static int str9x_write(struct flash_bank_s *bank,
if (offset & 0x1)
{
- LOG_WARNING("offset 0x%x breaks required 2-byte alignment", offset);
+ LOG_WARNING("offset 0x%" PRIx32 " breaks required 2-byte alignment", offset);
return ERROR_FLASH_DST_BREAKS_ALIGNMENT;
}