From: David Brownell Date: Fri, 11 Dec 2009 01:42:20 +0000 (-0800) Subject: anotyer cygwin compile fix X-Git-Tag: v0.4.0-rc1~62 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a34345451deaa952b8b868d2dd74954035f503c5;p=openocd anotyer cygwin compile fix Signed-off-by: David Brownell --- 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;