change %x and %d to PRIx32 and PRId32 where needed for cygwin

This commit is contained in:
Daniel Bäder
2010-03-25 11:24:42 +01:00
committed by Øyvind Harboe
parent e736468b0e
commit 010492a1ed
4 changed files with 7 additions and 7 deletions

View File

@@ -558,7 +558,7 @@ static int pic32mx_probe(struct flash_bank *bank)
}
}
LOG_INFO("flash size = %dkbytes", num_pages / 1024);
LOG_INFO("flash size = %" PRId32 "kbytes", num_pages / 1024);
/* calculate numbers of pages */
num_pages /= page_size;