From a34345451deaa952b8b868d2dd74954035f503c5 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Thu, 10 Dec 2009 17:42:20 -0800 Subject: [PATCH] anotyer cygwin compile fix Signed-off-by: David Brownell --- src/flash/nor/stellaris.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/flash/nor/stellaris.c b/src/flash/nor/stellaris.c index b5e101010a..8584843f79 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; -- 2.30.2