openocd: convert 'unsigned' to 'unsigned int'
Conversion done with checkpatch --fix-inplace -types UNSPECIFIED_INT Ignore the cast as they could be better addressed. Fix only minor additional checkpatch issue (spacing and line length). Change-Id: I4f936ffc4cedb153afa331cd293b08f4c913dc93 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8482 Tested-by: jenkins
This commit is contained in:
@@ -258,7 +258,7 @@ static struct command_context *setup_command_handler(Jim_Interp *interp)
|
||||
&arm_tpiu_swo_register_commands,
|
||||
NULL
|
||||
};
|
||||
for (unsigned i = 0; command_registrants[i]; i++) {
|
||||
for (unsigned int i = 0; command_registrants[i]; i++) {
|
||||
int retval = (*command_registrants[i])(cmd_ctx);
|
||||
if (retval != ERROR_OK) {
|
||||
command_done(cmd_ctx);
|
||||
|
||||
Reference in New Issue
Block a user