forked from auracaster/openocd
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:
@@ -320,7 +320,7 @@ static int hwthread_get_thread_reg(struct rtos *rtos, int64_t thread_id,
|
||||
|
||||
rtos_reg->number = reg->number;
|
||||
rtos_reg->size = reg->size;
|
||||
unsigned bytes = (reg->size + 7) / 8;
|
||||
unsigned int bytes = (reg->size + 7) / 8;
|
||||
assert(bytes <= sizeof(rtos_reg->value));
|
||||
memcpy(rtos_reg->value, reg->value, bytes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user