X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fhelper%2Fcommand.c;h=5f3c88dc0372dd4d4917a47c25e6be9025a81c2b;hp=5d69ffb3fb80aec3254793962a2b8479671dc12f;hb=6a2e83c01719cada03eb3bd13dc51d21d8bc964f;hpb=0cd414c7d69361768cf0a8b2c1844a8bb2354c8c diff --git a/src/helper/command.c b/src/helper/command.c index 5d69ffb3fb..5f3c88dc03 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -49,10 +49,10 @@ Jim_Interp *interp = NULL; int run_command(command_context_t *context, command_t *c, char *words[], int num_words); -static void tcl_output(void *privData, const char *file, int line, const char *function, const char *string) +static void tcl_output(void *privData, const char *file, unsigned line, + const char *function, const char *string) { Jim_Obj *tclOutput = (Jim_Obj *)privData; - Jim_AppendString(interp, tclOutput, string, strlen(string)); }