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

@@ -967,7 +967,7 @@ int ahbap_debugport_init(struct adiv5_dap *dap)
retval = dap_queue_ap_read(dap, AP_REG_IDR, &idreg);
retval = dap_queue_ap_read(dap, AP_REG_BASE, &romaddr);
LOG_DEBUG("MEM-AP #%d ID Register 0x%" PRIx32
LOG_DEBUG("MEM-AP #%" PRId32 " ID Register 0x%" PRIx32
", Debug ROM Address 0x%" PRIx32,
dap->apsel, idreg, romaddr);