1
0
forked from aniani/vim

updated for version 7.3.413

Problem:    Build warnings on MS-Windows.
Solution:   Add type casts. (Mike Williams)
This commit is contained in:
Bram Moolenaar
2012-01-26 13:01:59 +01:00
parent 2b04b19455
commit 38f5f9529a
4 changed files with 5 additions and 3 deletions

View File

@@ -5923,7 +5923,7 @@ ex_history(eap)
hist[i].hisnum);
if (vim_strsize(hist[i].hisstr) > (int)Columns - 10)
trunc_string(hist[i].hisstr, IObuff + STRLEN(IObuff),
(int)Columns - 10, IOSIZE - STRLEN(IObuff));
(int)Columns - 10, IOSIZE - (int)STRLEN(IObuff));
else
STRCAT(IObuff, hist[i].hisstr);
msg_outtrans(IObuff);