patch 9.1.1207: MS-Windows: build warning in filepath.c
Commit:
https://github.com/vim/vim/commit/1064426d15e7729f4cb63802faf2eee96c39d83f
Author: John Marriott <[email protected]>
Date: Sun Mar 16 19:06:31 2025 +0100
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 <[email protected]>
diff --git a/src/filepath.c b/src/filepath.c
index 1c15b8d36..080a58e8a 100644
--- a/src/filepath.c
+++ b/src/filepath.c
@@ -3594,7 +3594,7 @@ dos_expandpath(
}
// 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);
if (wn != NULL)
hFind = FindFirstFileW(wn, &wfb);
diff --git a/src/version.c b/src/version.c
index 27ea59644..803bef596 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1207,
/**/
1206,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1ttsVs-00ER72-N0%40256bit.org.