From: Bram Moolenaar Date: Tue, 28 May 2019 21:32:47 +0000 (+0200) Subject: patch 8.1.1415: build error in MS-Windows GUI X-Git-Tag: v8.1.1415 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59edb00e2219d4eda34b32a5d405f245053c5b74;p=thirdparty%2Fvim.git patch 8.1.1415: build error in MS-Windows GUI Problem: Build error in MS-Windows GUI. Solution: Fix the LALLOC_MULT() argument. --- diff --git a/src/gui_w32.c b/src/gui_w32.c index 0f683b8a16..5600ac0c28 100644 --- 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; diff --git a/src/version.c b/src/version.c index c955bbb597..eac5b026e8 100644 --- a/src/version.c +++ b/src/version.c @@ -767,6 +767,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1415, /**/ 1414, /**/