From 1064426d15e7729f4cb63802faf2eee96c39d83f Mon Sep 17 00:00:00 2001 From: John Marriott Date: Sun, 16 Mar 2025 19:06:31 +0100 Subject: [PATCH] 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 --- src/filepath.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/filepath.c b/src/filepath.c index 1c15b8d363..080a58e8af 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 27ea59644f..803bef596a 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, /**/ -- 2.47.2