log: improve log_callback_fn signature

Use unsigned type for line number in log_callback_fn signature.
This commit is contained in:
Zachary T Welch
2009-11-09 06:12:02 -08:00
parent 0cd414c7d6
commit 6a2e83c017
4 changed files with 6 additions and 6 deletions

View File

@@ -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));
}