diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-05 12:27:18 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-05 12:27:18 +0000 |
commit | f370d70670bd5e30befe6fbfbc8d472e760f032b (patch) | |
tree | 881165e968757d8feae4e747b9407d98c328d373 /src/target/arm11.c | |
parent | 20f505f695df9d9ba4c20780848336afec240a31 (diff) |
Duane Ellis: fix warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@890 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm11.c')
-rw-r--r-- | src/target/arm11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm11.c b/src/target/arm11.c index 9e131d8b..7c947fc2 100644 --- 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", - i + 2, arm11_coproc_instruction_limits[i], + (long)(i + 2), arm11_coproc_instruction_limits[i], read ? arm11_mrc_syntax : arm11_mcr_syntax); return -1; } |