mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-19 08:38:14 +10:00
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2344 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
4f79ba3ca0
commit
4486321dd9
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user