From: David B. <dbr...@us...> - 2010-04-04 03:37:22
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via d37a10da52bc8e6df4e3df2edd02ddbc29fe3bc4 (commit) from 33e5dd12729d995b351ece716e8c835dd8331c71 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit d37a10da52bc8e6df4e3df2edd02ddbc29fe3bc4 Author: David Brownell <dbr...@us...> Date: Sat Apr 3 18:36:07 2010 -0700 buildfix Without this, a system using gcc (GCC) 4.2.4 (Ubuntu 4.2.4-1ubuntu4) aborts builds after reporting: tcl.c: In function âhandle_irscan_commandâ: tcl.c:1168: warning: passing argument 1 of âbuf_set_u32â discards qualifiers from pointer target type Signed-off-by: David Brownell <dbr...@us...> diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c index 7dc7fb7..579ca9e 100644 --- a/src/jtag/tcl.c +++ b/src/jtag/tcl.c @@ -1165,7 +1165,8 @@ COMMAND_HANDLER(handle_irscan_command) retval = parse_u32(CMD_ARGV[i * 2 + 1], &value); if (ERROR_OK != retval) goto error_return; - buf_set_u32((void *)fields[i].out_value, 0, field_size, value); +void *v = (void *)fields[i].out_value; + buf_set_u32(v, 0, field_size, value); fields[i].in_value = NULL; } ----------------------------------------------------------------------- Summary of changes: src/jtag/tcl.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) hooks/post-receive -- Main OpenOCD repository |