diff src/ex_getln.c @ 3290:821c8be2e9d6 v7.3.413

updated for version 7.3.413 Problem: Build warnings on MS-Windows. Solution: Add type casts. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Thu, 26 Jan 2012 13:01:59 +0100
parents 55cebc7e5de0
children 7b17a38eb223
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -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);