From 4ccb265bd41a2048edbe4a42b1d9ca92adcc9bb9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 4 Oct 2012 22:38:37 +0200 Subject: updated for version 7.3.682 Problem: Compiler complains about incompatible types. Solution: Remove type casts. (hint by Danek Duvall) --- src/edit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/edit.c') diff --git a/src/edit.c b/src/edit.c index 5fde388f73..9017fd0f31 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) -- cgit v1.2.3