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

@@ -101,7 +101,7 @@ int telnet_output(struct command_context_s *cmd_ctx, const char* line)
return telnet_outputline(connection, line);
}
void telnet_log_callback(void *priv, const char *file, int line,
void telnet_log_callback(void *priv, const char *file, unsigned line,
const char *function, const char *string)
{
connection_t *connection = priv;