diff options
author | 2017-04-19 12:44:29 +0000 | |
---|---|---|
committer | 2017-04-19 12:44:29 +0000 | |
commit | 8eb95462578314b1014a8986848c86e18dda7c8f (patch) | |
tree | 123973f66b0c471c19d8385c2a5f0de6fccab5a8 /usr.bin/tmux/cmd-command-prompt.c | |
parent | Make the test pass when an obj directory exists. (diff) | |
download | wireguard-openbsd-8eb95462578314b1014a8986848c86e18dda7c8f.tar.xz wireguard-openbsd-8eb95462578314b1014a8986848c86e18dda7c8f.zip |
Style nits and a missing cast.
Diffstat (limited to 'usr.bin/tmux/cmd-command-prompt.c')
-rw-r--r-- | usr.bin/tmux/cmd-command-prompt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-command-prompt.c b/usr.bin/tmux/cmd-command-prompt.c index 04046dff4fe..99b274cb7a3 100644 --- a/usr.bin/tmux/cmd-command-prompt.c +++ b/usr.bin/tmux/cmd-command-prompt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-command-prompt.c,v 1.41 2017/01/15 22:00:56 nicm Exp $ */ +/* $OpenBSD: cmd-command-prompt.c,v 1.42 2017/04/19 12:44:29 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); } |