diff src/uninstal.c @ 15892:e43b5e6d9190 v8.1.0952

patch 8.1.0952: compilation warnings when building the MS-Windows installer commit https://github.com/vim/vim/commit/bbd854dc57e82937eb7b95af220a2f137ded64f8 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 18 22:19:33 2019 +0100 patch 8.1.0952: compilation warnings when building the MS-Windows installer Problem: Compilation warnings when building the MS-Windows installer. Solution: Fix buffer sizes. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/3999)
author Bram Moolenaar <Bram@vim.org>
date Mon, 18 Feb 2019 22:30:06 +0100
parents aca41efd888c
children b9098585d945
line wrap: on
line diff
--- a/src/uninstal.c
+++ b/src/uninstal.c
@@ -321,8 +321,8 @@ main(int argc, char *argv[])
     int		i;
     struct stat st;
     char	icon[BUFSIZE];
-    char	path[BUFSIZE];
-    char	popup_path[BUFSIZE];
+    char	path[MAX_PATH];
+    char	popup_path[MAX_PATH];
 
     /* The nsis uninstaller calls us with a "-nsis" argument. */
     if (argc == 2 && stricmp(argv[1], "-nsis") == 0)