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 <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/search.c b/src/search.c
index c8f8736..01c143f 100644
--- a/src/search.c
+++ b/src/search.c
@@ -5265,7 +5265,7 @@
 		    {
 			found_new_match = TRUE;
 			*pos = current_pos;
-			*len = STRLEN(*ptr);
+			*len = (int)STRLEN(*ptr);
 			break;
 		    }
 		}