]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-158 v7.2.158
authorBram Moolenaar <Bram@vim.org>
Wed, 22 Apr 2009 15:45:05 +0000 (15:45 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 22 Apr 2009 15:45:05 +0000 (15:45 +0000)
src/ops.c
src/version.c

index b60fca3ea3dd8bd6ffc3e1fbd55aae842564cc80..b8bb53851a792eb07ed282def00a881cfa6cb4fa 100644 (file)
--- a/src/ops.c
+++ b/src/ops.c
@@ -495,10 +495,11 @@ shift_block(oap, amount)
        block_space_width = non_white_col - oap->start_vcol;
        /* We will shift by "total" or "block_space_width", whichever is less.
         */
-       shift_amount = (block_space_width < total? block_space_width: total);
+       shift_amount = (block_space_width < (size_t)total
+                                        ? block_space_width : (size_t)total);
 
        /* The column to which we will shift the text.  */
-       destination_col = non_white_col - shift_amount;
+       destination_col = (colnr_T)(non_white_col - shift_amount);
 
        /* Now let's find out how much of the beginning of the line we can
         * reuse without modification.  */
index 9832d5597f1614fae02464be5071285daef34f20..e5e1307fc7ebcd044ae47377de788f8136b3fd20 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    158,
 /**/
     157,
 /**/