target: Add 64-bit target address support
[fw/openocd] / src / flash / nor / xmc1xxx.c
index bb2ec1272a34d8e49859ef642801145d7f54534a..0a76b216d4c6e6124a50bb429ea65482c8002a79 100644 (file)
@@ -305,7 +305,7 @@ static int xmc1xxx_write(struct flash_bank *bank, const uint8_t *buffer,
                uint32_t blocks = MIN(block_count, data_workarea->size / NVM_BLOCK_SIZE);
                uint32_t addr = bank->base + offset;
 
-               LOG_DEBUG("copying %" PRId32 " bytes to SRAM 0x%08" PRIx32,
+               LOG_DEBUG("copying %" PRId32 " bytes to SRAM 0x%08" TARGET_PRIxADDR,
                        MIN(blocks * NVM_BLOCK_SIZE, byte_count),
                        data_workarea->address);