summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-05-25 17:29:44 +0200
committerBram Moolenaar <Bram@vim.org>2011-05-25 17:29:44 +0200
commit9b83c2f979ee756eab63dc93c67cb4ad165f10f3 (patch)
tree31136244ab23dc40c458bac81550b9ac6092c065 /src/misc1.c
parentbd8608d979db1f725551215d8a78dcecbb9bb98a (diff)
downloadvim-git-9b83c2f979ee756eab63dc93c67cb4ad165f10f3.tar.gz
updated for version 7.3.204v7.3.204
Problem: Compiler warning. Solution: Add type cast. (Mike Williams)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 59add064a..913da2ad7 100644
--- 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