change %x and %d to PRIx32 and PRId32 where needed for cygwin
[fw/openocd] / src / target / arm_dpm.c
index 8e8cc17aebda5bbad5e1616fee89b32ba364a059..213afbd32f1101737a348c4d24de2b073837be9e 100644 (file)
@@ -718,7 +718,7 @@ static int dpm_bpwp_setup(struct arm_dpm *dpm, struct dpm_bpwp *xp,
        xp->control = control;
        xp->dirty = true;
 
-       LOG_DEBUG("BPWP: addr %8.8x, control %x, number %d",
+       LOG_DEBUG("BPWP: addr %8.8" PRIx32 ", control %" PRIx32 ", number %d",
                        xp->address, control, xp->number);
 
        /* hardware is updated in write_dirty_registers() */