Mercurial > vim
changeset 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 | 61a7c3f01088 |
children | c3791ff631ea |
files | src/edit.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
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)