1
0
forked from aniani/vim

patch 8.0.1014: old compiler doesn't know uint32_t

Problem:    Old compiler doesn't know uint32_t. Warning for using NULL instead
            of NUL.
Solution:   Use UINT32_T.  Use NUL instead of NULL.
This commit is contained in:
Bram Moolenaar
2017-08-30 13:22:28 +02:00
parent e561a7e2fa
commit b47a2597e6
4 changed files with 7 additions and 5 deletions

View File

@@ -3757,7 +3757,7 @@ init_homedir(void)
* platforms, $HOMEDRIVE and $HOMEPATH are automatically defined for
* each user. Try constructing $HOME from these.
*/
if (var == NULL || *var == NULL)
if (var == NULL || *var == NUL)
{
char_u *homedrive, *homepath;