]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1207: MS-Windows: build warning in filepath.c v9.1.1207
authorJohn Marriott <basilisk@internode.on.net>
Sun, 16 Mar 2025 18:06:31 +0000 (19:06 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 16 Mar 2025 18:06:31 +0000 (19:06 +0100)
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>
src/filepath.c
src/version.c

index 1c15b8d3635c7a26db73d0ce94c1d792c6426844..080a58e8afe2822e9bba3e464f50dac8ac3fe605 100644 (file)
@@ -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);
index 27ea59644fc9a96c185ae62ef34f78932f3e4fcb..803bef596afe127a16990df797e62f9847783e1b 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1207,
 /**/
     1206,
 /**/