mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 9.1.0979: VMS: type warning with $XDG_VIMRC_FILE
Problem: VMS: type warning with $XDG_VIMRC_FILE (Zoltan Arpadffy) Solution: add explicit (char_u *) type cast to mch_getenv() call fixes: #16335 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -250,7 +250,7 @@ typedef struct dsc$descriptor DESC;
|
||||
#endif
|
||||
|
||||
#ifndef XDG_VIMRC_FILE
|
||||
# define XDG_VIMRC_FILE (mch_getenv("XDG_CONFIG_HOME") \
|
||||
# define XDG_VIMRC_FILE (mch_getenv((char_u *)"XDG_CONFIG_HOME") \
|
||||
? "$XDG_CONFIG_HOME/vim/vimrc" \
|
||||
: "~/.config/vim/vimrc")
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user