forked from aniani/vim
patch 9.1.0959: Coverity complains about type conversion
Problem: Coverity complains about type conversion (after v9.1.0957) Solution: use size_t instead of int for file length (Yegappan Lakshmanan) closes: #16297 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
9739086de2
commit
00d3459ea6
@@ -8452,7 +8452,7 @@ vimrc_found(char_u *fname, char_u *envname)
|
||||
}
|
||||
#endif
|
||||
else
|
||||
(void)modify_fname((char_u *)":h", FALSE, &usedlen, &p, &fbuf, (int *)&len);
|
||||
(void)modify_fname((char_u *)":h", FALSE, &usedlen, &p, &fbuf, &len);
|
||||
|
||||
if (p != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user