0
0
mirror of https://github.com/vim/vim.git synced 2025-08-26 20:03:41 -04:00

patch 9.1.1207: MS-Windows: build warning in filepath.c

Problem:  MS-Windows: build warning in filepath.c
          (after v9.1.1204)
Solution: add type cast (John Marriott)

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
John Marriott 2025-03-16 19:06:31 +01:00 committed by Christian Brabandt
parent 8322923b40
commit 1064426d15
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 3 additions and 1 deletions

View File

@ -3594,7 +3594,7 @@ dos_expandpath(
} }
// Scan all files in the directory with "dir/ *.*" // Scan all files in the directory with "dir/ *.*"
vim_snprintf(s, buflen - len, "*.*"); vim_snprintf((char *)s, buflen - len, "*.*");
wn = enc_to_utf16(buf, NULL); wn = enc_to_utf16(buf, NULL);
if (wn != NULL) if (wn != NULL)
hFind = FindFirstFileW(wn, &wfb); hFind = FindFirstFileW(wn, &wfb);

View File

@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1207,
/**/ /**/
1206, 1206,
/**/ /**/