diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-10-04 22:38:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-10-04 22:38:37 +0200 |
commit | 4ccb265bd41a2048edbe4a42b1d9ca92adcc9bb9 (patch) | |
tree | 4c53af56edcee35035bda87e89a80739153761e1 /src/edit.c | |
parent | 7d11244c99bd92526429c491aea433a16f2dbd25 (diff) | |
download | vim-git-4ccb265bd41a2048edbe4a42b1d9ca92adcc9bb9.tar.gz |
updated for version 7.3.682v7.3.682
Problem: Compiler complains about incompatible types.
Solution: Remove type casts. (hint by Danek Duvall)
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/edit.c b/src/edit.c index 5fde388f7..9017fd0f3 100644 --- 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) |