X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Fcommand.c;h=85abe6bcf0328ff4c4d1fbec32b223107d6af95a;hp=b374187d061f544be7a80d93e4db1ddb434fe347;hb=ba2fbe22470915359e1905aaad4c613eacbdf6dc;hpb=517ba0690dcc9e859a05df2113ce32401a5ab254 diff --git a/src/helper/command.c b/src/helper/command.c index b374187d06..85abe6bcf0 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -57,7 +57,7 @@ struct log_capture_state { static void tcl_output(void *privData, const char *file, unsigned line, const char *function, const char *string) { - struct log_capture_state *state = (struct log_capture_state *)privData; + struct log_capture_state *state = privData; Jim_AppendString(state->interp, state->output, string, strlen(string)); }