From: David Brownell Date: Fri, 11 Dec 2009 01:42:20 +0000 (-0800) Subject: anotyer cygwin compile fix X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a34345451deaa952b8b868d2dd74954035f503c5;p=fw%2Fopenocd anotyer cygwin compile fix Signed-off-by: David Brownell --- diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c index b5e101010..8584843f7 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;