diff options
author | Anton Ovchinnikov <revolver112@gmail.com> | 2015-03-09 00:40:50 +0100 |
---|---|---|
committer | Anton Ovchinnikov <revolver112@gmail.com> | 2015-03-09 00:40:50 +0100 |
commit | 9925b3a0477e5af348a8348544e69a65a9222c1b (patch) | |
tree | 467cdcd1d1f9f6662aa7ea9331f4ddceacbdbfb8 /src/nvim/spell.c | |
parent | c0a668aa26a01145bee1d8162e14bacd0a10eca2 (diff) | |
download | rneovim-9925b3a0477e5af348a8348544e69a65a9222c1b.tar.gz rneovim-9925b3a0477e5af348a8348544e69a65a9222c1b.tar.bz2 rneovim-9925b3a0477e5af348a8348544e69a65a9222c1b.zip |
Remove redundant casts
Diffstat (limited to 'src/nvim/spell.c')
-rw-r--r-- | src/nvim/spell.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 126a435463..6708ad2aa7 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -2541,7 +2541,7 @@ spell_load_file ( EMSG2(_(e_notopen), fname); else if (p_verbose > 2) { verbose_enter(); - smsg((char_u *)e_notopen, fname); + smsg(e_notopen, fname); verbose_leave(); } goto endFAIL; @@ -5480,7 +5480,7 @@ static int spell_read_dic(spellinfo_T *spin, char_u *fname, afffile_T *affile) } // Store the word in the hashtable to be able to find duplicates. - dw = (char_u *)getroom_save(spin, w); + dw = getroom_save(spin, w); if (dw == NULL) { retval = FAIL; free(pc); @@ -10904,7 +10904,7 @@ stp_sal_score ( char_u goodword[MAXWLEN]; int lendiff; - lendiff = (int)(su->su_badlen - stp->st_orglen); + lendiff = su->su_badlen - stp->st_orglen; if (lendiff >= 0) pbad = badsound; else { |