Mercurial > vim
diff src/os_vms.c @ 18761:e3785af3ba0f v8.1.2370
patch 8.1.2370: build problems on VMS
Commit: https://github.com/vim/vim/commit/0c5c3faef2d54151a8c144539e3e5a3350fb18c7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 22:38:16 2019 +0100
patch 8.1.2370: build problems on VMS
Problem: Build problems on VMS.
Solution: Adjust the build file. (Zoltan Arpadffy)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 22:45:04 +0100 |
parents | ce04ebdf26b8 |
children | 1130f8309f67 |
line wrap: on
line diff
--- a/src/os_vms.c +++ b/src/os_vms.c @@ -382,7 +382,7 @@ vms_wproc(char *name, int val) if (vms_match_num == 0) { /* first time through, setup some things */ if (NULL == vms_fmatch) { - vms_fmatch = ALLOC_MULT(char *, EXPL_ALLOC_INC); + vms_fmatch = ALLOC_MULT(char_u *, EXPL_ALLOC_INC); if (!vms_fmatch) return 0; vms_match_alloced = EXPL_ALLOC_INC; @@ -443,7 +443,7 @@ mch_expand_wildcards(int num_pat, char_u *num_file = 0; /* default: no files found */ files_alloced = EXPL_ALLOC_INC; files_free = EXPL_ALLOC_INC; - *file = ALLOC_MULT(char_u **, files_alloced); + *file = ALLOC_MULT(char_u *, files_alloced); if (*file == NULL) { *num_file = 0;