changeset 16827:ce562b9f702e v8.1.1415

patch 8.1.1415: build error in MS-Windows GUI commit https://github.com/vim/vim/commit/59edb00e2219d4eda34b32a5d405f245053c5b74 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 28 23:32:47 2019 +0200 patch 8.1.1415: build error in MS-Windows GUI Problem: Build error in MS-Windows GUI. Solution: Fix the LALLOC_MULT() argument.
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 May 2019 23:45:05 +0200
parents aff339110438
children 1a8e924e66ba
files src/gui_w32.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -6056,7 +6056,7 @@ gui_mch_draw_string(
 
 	/* Don't give an out-of-memory message here, it would call us
 	 * recursively. */
-	padding = LALLOC_MULT(sizeof(int), pad_size);
+	padding = LALLOC_MULT(int, pad_size);
 	if (padding != NULL)
 	    for (i = 0; i < pad_size; i++)
 		padding[i] = gui.char_width;
--- a/src/version.c
+++ b/src/version.c
@@ -768,6 +768,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1415,
+/**/
     1414,
 /**/
     1413,