Mercurial > vim
diff src/edit.c @ 3850:8eb5b61161b4 v7.3.682
updated for version 7.3.682
Problem: Compiler complains about incompatible types.
Solution: Remove type casts. (hint by Danek Duvall)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 04 Oct 2012 22:38:37 +0200 |
parents | 7de7ef01288d |
children | fd96b3cc88ed |
line wrap: on
line diff
--- a/src/edit.c +++ b/src/edit.c @@ -4194,8 +4194,8 @@ ins_compl_get_exp(ini) ins_buf->b_fname == NULL ? buf_spname(ins_buf) : ins_buf->b_sfname == NULL - ? (char *)ins_buf->b_fname - : (char *)ins_buf->b_sfname); + ? ins_buf->b_fname + : ins_buf->b_sfname); (void)msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R)); } else if (*e_cpt == NUL)