forked from auracaster/openocd
openocd: fix conversion string for stdint values
Detected while converting 'unsigned' to 'unsigned int'. Use the correct conversion string for stdint values. Change-Id: I99f3dff4c64dfd7acf2bddb130b56e9ebe1e6c60 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8477 Tested-by: jenkins
This commit is contained in:
@@ -482,7 +482,7 @@ void arm_set_cpsr(struct arm *arm, uint32_t cpsr)
|
||||
}
|
||||
arm->core_state = state;
|
||||
|
||||
LOG_DEBUG("set CPSR %#8.8x: %s mode, %s state", (unsigned) cpsr,
|
||||
LOG_DEBUG("set CPSR %#8.8" PRIx32 ": %s mode, %s state", cpsr,
|
||||
arm_mode_name(mode),
|
||||
arm_state_strings[arm->core_state]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user