aboutsummaryrefslogtreecommitdiff
path: root/cmd-choose-tree.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-02-13 10:19:43 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-02-13 10:19:43 +0000
commit544c80d71534adc8f2d3843d06b01655dc02f1a9 (patch)
treee221f6ba1f0161c45f100366fb496ace3e053c57 /cmd-choose-tree.c
parent36fe146a74230e5072c367a9987b6c021320c0dd (diff)
downloadrtmux-544c80d71534adc8f2d3843d06b01655dc02f1a9.tar.gz
rtmux-544c80d71534adc8f2d3843d06b01655dc02f1a9.tar.bz2
rtmux-544c80d71534adc8f2d3843d06b01655dc02f1a9.zip
Fix constness of cmd_template_replace.
Diffstat (limited to 'cmd-choose-tree.c')
-rw-r--r--cmd-choose-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-choose-tree.c b/cmd-choose-tree.c
index 02796630..e12e4c30 100644
--- a/cmd-choose-tree.c
+++ b/cmd-choose-tree.c
@@ -174,7 +174,7 @@ cmd_choose_tree_exec(struct cmd *self, struct cmd_ctx *ctx)
}
wcd = window_choose_add_session(wl->window->active,
- c, s2, ses_template, (char *)ses_action, idx_ses);
+ c, s2, ses_template, ses_action, idx_ses);
/* If we're just choosing sessions, skip choosing windows. */
if (sflag && !wflag) {