patch 9.1.0632: MS-Windows: Compiler Warnings

Commit: 
https://github.com/vim/vim/commit/073cb02cb5fd3209a9f0ff65fa2dc748c792792f
Author: Ken Takata <ken...@csc.jp>
Date:   Sun Jul 28 17:08:15 2024 +0200

    patch 9.1.0632: MS-Windows: Compiler Warnings
    
    Problem:  MS-Windows: Compiler Warnings
    Solution: Fix the warnings (Ken Takata)
    
    * Unused variable.
    * Conversion from size_t to int.
    
    closes: #15369
    
    Signed-off-by: Ken Takata <ken...@csc.jp>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/if_py_both.h b/src/if_py_both.h
index e0fd3eafb..d09b14c75 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -358,7 +358,9 @@ static PyObject *py_find_spec;
 #else
 static PyObject *py_load_module;
 #endif
+#if PY_VERSION_HEX < 0x30c00a7
 static PyObject *py_find_module;
+#endif
 
 static PyObject *VimError;
 
diff --git a/src/insexpand.c b/src/insexpand.c
index 2a5f8e804..00a7b7568 100644
--- a/src/insexpand.c
+++ b/src/insexpand.c
@@ -3544,7 +3544,7 @@ get_next_filename_completion(void)
     int                i;
     int                score;
     char_u     *leader = ins_compl_leader();
-    int                leader_len = STRLEN(leader);
+    size_t     leader_len = STRLEN(leader);
     int                in_fuzzy = ((get_cot_flags() & COT_FUZZY) != 0 && 
leader_len > 0);
     char_u     **sorted_matches;
     int                *fuzzy_indices_data;
diff --git a/src/search.c b/src/search.c
index c8f873676..01c143f69 100644
--- a/src/search.c
+++ b/src/search.c
@@ -5265,7 +5265,7 @@ search_for_fuzzy_match(
                    {
                        found_new_match = TRUE;
                        *pos = current_pos;
-                       *len = STRLEN(*ptr);
+                       *len = (int)STRLEN(*ptr);
                        break;
                    }
                }
diff --git a/src/version.c b/src/version.c
index 31b0c2462..398b4821a 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 */
+/**/
+    632,
 /**/
     631,
 /**/

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1sY5c4-00Gt4X-Rs%40256bit.org.

Raspunde prin e-mail lui