]> granicus.if.org Git - vim/commitdiff
patch 8.1.1152: compiler warning with VS2019 v8.1.1152
authorBram Moolenaar <Bram@vim.org>
Thu, 11 Apr 2019 15:22:57 +0000 (17:22 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 11 Apr 2019 15:22:57 +0000 (17:22 +0200)
Problem:    Compiler warning with VS2019.
Solution:   Specify different offset for "AMD64". (closes #4235)

src/GvimExt/Makefile
src/version.c

index a865989cf741c3f5c7249d1fc3f5205053e3627b..975ba1170525e54c597cdf7002887f84b89c81c1 100644 (file)
@@ -58,7 +58,7 @@ SUBSYSTEM = console
 SUBSYSTEM = $(SUBSYSTEM),$(SUBSYSTEM_VER)
 !endif
 
-!if "$(CPU)" == "ARM64"
+!if "$(CPU)" == "AMD64" || "$(CPU)" == "ARM64"
 OFFSET = 0x11C000000
 !else
 OFFSET = 0x1C000000
index e75a60b4339721ce290987cba2e41a42a3f87d5c..d2c3fb870e5c66b61ad02ebed3d027a58d4f2009 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1152,
 /**/
     1151,
 /**/