C99 printf() -Werror fixes

git-svn-id: svn://svn.berlios.de/openocd/trunk@2344 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
duane 2009-06-21 03:22:10 +00:00
parent 4f79ba3ca0
commit 4486321dd9
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ static int str9x_write(struct flash_bank_s *bank,
if (offset & 0x1) 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; return ERROR_FLASH_DST_BREAKS_ALIGNMENT;
} }