# HG changeset patch # User Bram Moolenaar # Date 1437597973 -7200 # Node ID d19e79d29bf99fe0483339e2793c7b81b3e55ed5 # Parent ad7ee058c03b0edecb2f9e478e588f698fa59c05 patch 7.4.796 Problem: Warning from 64 bit compiler. Solution: Add type cast. (Mike Williams) diff --git a/src/ops.c b/src/ops.c --- a/src/ops.c +++ b/src/ops.c @@ -5429,10 +5429,9 @@ do_addsub(command, Prenum1, g_cmd) if (VIsual_mode == 'V') { VIsual.col = 0; - curwin->w_cursor.col = STRLEN(ptr); + curwin->w_cursor.col = (colnr_T)STRLEN(ptr); } - else if (VIsual_mode == Ctrl_V && - VIsual.col > curwin->w_cursor.col) + else if (VIsual_mode == Ctrl_V && VIsual.col > curwin->w_cursor.col) { t = VIsual; VIsual.col = curwin->w_cursor.col; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 796, +/**/ 795, /**/ 794,