From 4486321dd9caeca8dd4d7f49755c3cdb9947f551 Mon Sep 17 00:00:00 2001 From: duane Date: Sun, 21 Jun 2009 03:22:10 +0000 Subject: C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2344 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/str9x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3