summaryrefslogtreecommitdiff
path: root/src/flash/nor
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-10 17:42:20 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-10 17:42:20 -0800
commita34345451deaa952b8b868d2dd74954035f503c5 (patch)
tree94fef8be8aec120b2755a4ae8e1ff9ce9e822eaa /src/flash/nor
parent134df4b701a343acc598d111986570bc90eb675d (diff)
downloadopenocd_libswd-a34345451deaa952b8b868d2dd74954035f503c5.tar.gz
openocd_libswd-a34345451deaa952b8b868d2dd74954035f503c5.tar.bz2
openocd_libswd-a34345451deaa952b8b868d2dd74954035f503c5.tar.xz
openocd_libswd-a34345451deaa952b8b868d2dd74954035f503c5.zip
anotyer cygwin compile fix
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/flash/nor')
-rw-r--r--src/flash/nor/stellaris.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c
index b5e10101..8584843f 100644
--- a/src/flash/nor/stellaris.c
+++ b/src/flash/nor/stellaris.c
@@ -641,7 +641,8 @@ static int stellaris_protect_check(struct flash_bank *bank)
status = target_read_u32(bank->target,
SCB_BASE + (i ? (FMPPE0 + 4 * i) : FMPPE),
&lockbits);
- LOG_DEBUG("FMPPE%d = %#8.8x (status %d)", i, lockbits, status);
+ LOG_DEBUG("FMPPE%d = %#8.8x (status %d)", i,
+ (unsigned) lockbits, status);
if (status != ERROR_OK)
goto done;