From: duane Date: Sun, 21 Jun 2009 03:22:10 +0000 (+0000) Subject: C99 printf() -Werror fixes X-Git-Tag: v0.2.0~171 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4486321dd9caeca8dd4d7f49755c3cdb9947f551;p=openocd C99 printf() -Werror fixes git-svn-id: svn://svn.berlios.de/openocd/trunk@2344 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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; }