aboutsummaryrefslogtreecommitdiff
path: root/src/helper/command.c
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2014-04-28 14:34:47 +0400
committerFreddie Chopin <freddie.chopin@gmail.com>2014-05-09 20:12:17 +0000
commit92ea548aafee840e1507306a3ffb38625f427ec5 (patch)
tree2dd8e84463bfd905fc1b26230ffd258a5dd8db14 /src/helper/command.c
parentdd2e16a9e8b8c3da6e25ccd0d49ab833f0a3be02 (diff)
Update to the current Jim Tcl
This is a post-release version but hopefully some fixes that went in are worth it; also the changes here make OpenOCD compatible with stock 0.75 version if a distro maintainer decides to use it. Change-Id: I7ad1814c7c4868198475cdca4750c3d0ee4f5f8b Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2121 Tested-by: jenkins Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/helper/command.c')
-rw-r--r--src/helper/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/command.c b/src/helper/command.c
index 21362a61..137ac7ee 100644
--- a/src/helper/command.c
+++ b/src/helper/command.c
@@ -365,7 +365,7 @@ static int register_command_handler(struct command_context *cmd_ctx,
LOG_DEBUG("registering '%s'...", ocd_name);
- Jim_CmdProc func = c->handler ? &script_command : &command_unknown;
+ Jim_CmdProc *func = c->handler ? &script_command : &command_unknown;
int retval = Jim_CreateCommand(interp, ocd_name, func, c, NULL);
free(ocd_name);
if (JIM_OK != retval)