target: use unsigned int for timeout_ms
Change the prototype of functions: - target_run_algorithm() - target_wait_algorithm() - target_wait_state() - struct target_type::run_algorithm() - struct target_type::wait_algorithm() to use unsigned int for timeout_ms instead of int. Change accordingly the variables passed as parameter. Change-Id: I0b8d6e691bb3c749eeb2911dc5a86c38cc0cb65d Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7562 Tested-by: jenkins
This commit is contained in:
@@ -2518,7 +2518,7 @@ static const uint8_t *dcc_buffer;
|
||||
|
||||
static int arm7_9_dcc_completion(struct target *target,
|
||||
uint32_t exit_point,
|
||||
int timeout_ms,
|
||||
unsigned int timeout_ms,
|
||||
void *arch_info)
|
||||
{
|
||||
int retval = ERROR_OK;
|
||||
|
||||
Reference in New Issue
Block a user