]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.1.1383: warning for size_t/int mixup v8.1.1383
authorBram Moolenaar <Bram@vim.org>
Fri, 24 May 2019 15:56:14 +0000 (17:56 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 24 May 2019 15:56:14 +0000 (17:56 +0200)
Problem:    Warning for size_t/int mixup.
Solution:   Change type. (Mike Williams)

src/search.c
src/version.c

index e57c101d72b9bf65bea00ace174b78988b6431c7..f7b3dda3123091e9dd2f7f808140ec623b11f0ef 100644 (file)
@@ -1382,7 +1382,7 @@ do_search(
        {
            char_u      *trunc;
            char_u      off_buf[40];
-           int         off_len = 0;
+           size_t      off_len = 0;
 
            // Compute msg_row early.
            msg_start();
index b5cee8ead17629d06ce610b4a6f162b2216e3d4c..b774f3d7dd523c1b12ced469c9acfa6155943a79 100644 (file)
@@ -767,6 +767,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1383,
 /**/
     1382,
 /**/