patch 8.2.4223: long/int compiler warnings; function arguments swapped
Problem: Long/int compiler warnings; function arguments swapped.
Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
diff --git a/src/vim9script.c b/src/vim9script.c
index e13ac4a..5c1c055 100644
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -587,7 +587,7 @@
{
imported_T *imported;
- imported = find_imported(as_name, FALSE, STRLEN(as_name), cctx);
+ imported = find_imported(as_name, STRLEN(as_name), FALSE, cctx);
if (imported != NULL && imported->imp_sid != sid)
{
semsg(_(e_name_already_defined_str), as_name);