X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fmx3_nand.c;h=a5df00338be9f0f3821424bb0cbb7fbf1099d226;hb=026559068d889660ad4545ee28b6561c82c39aea;hp=20ab91e8110225f862ed1a468d63cfb1932a6913;hpb=9b1a938a22e570d080024880bd04c4bbef4b8037;p=openocd.git diff --git a/src/flash/mx3_nand.c b/src/flash/mx3_nand.c index 20ab91e811..a5df00338b 100644 --- a/src/flash/mx3_nand.c +++ b/src/flash/mx3_nand.c @@ -40,9 +40,9 @@ get_next_halfword_from_sram_buffer() not tested static const char target_not_halted_err_msg[] = "target must be halted to use mx3 NAND flash controller"; static const char data_block_size_err_msg[] = - "minimal granularity is one half-word, %d is incorrect"; + "minimal granularity is one half-word, %" PRId32 " is incorrect"; static const char sram_buffer_bounds_err_msg[] = - "trying to access out of SRAM buffer bound (addr=0x%x)"; + "trying to access out of SRAM buffer bound (addr=0x%" PRIx32 ")"; static const char get_status_register_err_msg[] = "can't get NAND status"; static uint32_t in_sram_address; unsigned char sign_of_sequental_byte_read;