projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Duane Ellis: fix warnings
[fw/openocd]
/
src
/
target
/
arm11.c
diff --git
a/src/target/arm11.c
b/src/target/arm11.c
index 9e131d8b5a7379a457ce38a83165d777fa5e73cf..7c947fc2e7ce5ce98d90f915d5fe5467905b19c3 100644
(file)
--- a/
src/target/arm11.c
+++ b/
src/target/arm11.c
@@
-1716,7
+1716,7
@@
int arm11_handle_mrc_mcr(struct command_context_s *cmd_ctx, char *cmd, char **ar
if (values[i] > arm11_coproc_instruction_limits[i])
{
LOG_ERROR("Parameter %ld out of bounds (%d max). %s",
if (values[i] > arm11_coproc_instruction_limits[i])
{
LOG_ERROR("Parameter %ld out of bounds (%d max). %s",
-
i + 2
, arm11_coproc_instruction_limits[i],
+
(long)(i + 2)
, arm11_coproc_instruction_limits[i],
read ? arm11_mrc_syntax : arm11_mcr_syntax);
return -1;
}
read ? arm11_mrc_syntax : arm11_mcr_syntax);
return -1;
}