From 689f4bfac22597e7fd2090373bdffe4df1ed5a34 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 19 Apr 2017 12:44:29 +0000 Subject: Style nits and a missing cast. --- cmd-command-prompt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-command-prompt.c') diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c index 3cc5b2fb..41bbe01d 100644 --- a/cmd-command-prompt.c +++ b/cmd-command-prompt.c @@ -192,7 +192,7 @@ cmd_command_prompt_callback(void *data, const char *s, int done) if (!done) free(new_template); - if (c->prompt_callbackfn != (void *)&cmd_command_prompt_callback) + if (c->prompt_callbackfn != cmd_command_prompt_callback) return (1); return (0); } -- cgit