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:
@@ -245,7 +245,7 @@ static int svf_last_printed_percentage = -1;
|
||||
#define SVF_BUF_LOG(_lvl, _buf, _nbits, _desc) \
|
||||
svf_hexbuf_print(LOG_LVL_##_lvl, __FILE__, __LINE__, __func__, _buf, _nbits, _desc)
|
||||
|
||||
static void svf_hexbuf_print(int dbg_lvl, const char *file, unsigned line,
|
||||
static void svf_hexbuf_print(int dbg_lvl, const char *file, unsigned int line,
|
||||
const char *function, const uint8_t *buf,
|
||||
int bit_len, const char *desc)
|
||||
{
|
||||
@@ -316,7 +316,7 @@ static void svf_free_xxd_para(struct svf_xxr_para *para)
|
||||
int svf_add_statemove(tap_state_t state_to)
|
||||
{
|
||||
tap_state_t state_from = cmd_queue_cur_state;
|
||||
unsigned index_var;
|
||||
unsigned int index_var;
|
||||
|
||||
/* when resetting, be paranoid and ignore current state */
|
||||
if (state_to == TAP_RESET) {
|
||||
|
||||
Reference in New Issue
Block a user