]> git.sur5r.net Git - openocd/commitdiff
anotyer cygwin compile fix
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 11 Dec 2009 01:42:20 +0000 (17:42 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 11 Dec 2009 01:42:20 +0000 (17:42 -0800)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/flash/nor/stellaris.c

index b5e101010a7f9dca81fc94636c071daead3312ec..8584843f796e20c84dc812f5f4ea9f501d61e190 100644 (file)
@@ -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;