diff src/misc1.c @ 2861:e6ce47f06836 v7.3.204

updated for version 7.3.204 Problem: Compiler warning. Solution: Add type cast. (Mike Williams)
author Bram Moolenaar <bram@vim.org>
date Wed, 25 May 2011 17:29:44 +0200
parents f80e67bd6271
children 493897f8bf90
line wrap: on
line diff
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -7657,7 +7657,7 @@ get_c_indent()
 			     * not the one from "if () {". */
 			    if (*l == '}')
 				curwin->w_cursor.col =
-						   (l - ml_get_curline()) + 1;
+					  (colnr_T)(l - ml_get_curline()) + 1;
 
 			    if ((trypos = find_start_brace(ind_maxcomment))
 								       == NULL