Fix constness again, sigh.

pull/1/head
Nicholas Marriott 2013-02-13 10:41:12 +00:00
parent fc6f08d5b7
commit f4c815a1d9
1 changed files with 4 additions and 4 deletions

4
cmd.c
View File

@ -1223,8 +1223,8 @@ cmd_find_pane_offset(const char *paneptr, struct winlink *wl)
char * char *
cmd_template_replace(const char *template, const char *s, int idx) cmd_template_replace(const char *template, const char *s, int idx)
{ {
char ch; char ch, *buf;
char *buf, *ptr; const char *ptr;
int replaced; int replaced;
size_t len; size_t len;