1
0
forked from aniani/vim

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 #3999)
This commit is contained in:
Bram Moolenaar
2019-02-18 22:19:33 +01:00
parent 44b443c5db
commit bbd854dc57
4 changed files with 12 additions and 10 deletions

View File

@@ -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)