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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user