PVS/V1032: pointer cast to a more strictly aligned type

This commit is contained in:
Justin M. Keyes
2019-01-16 00:10:41 +01:00
parent ed171f7be2
commit ea7491586f
4 changed files with 10 additions and 9 deletions

View File

@@ -1267,7 +1267,7 @@ int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file,
}
*num_file = ga.ga_len;
*file = (ga.ga_data != NULL) ? (char_u **)ga.ga_data : (char_u **)"";
*file = (ga.ga_data != NULL) ? (char_u **)ga.ga_data : &vim_emptystr;
recursive = false;