diff src/vim9script.c @ 27390:018c911eb9cf v8.2.4223

patch 8.2.4223: long/int compiler warnings; function arguments swapped Commit: https://github.com/vim/vim/commit/1a804528ab39f5c810cf42397702057100a94ade Author: K.Takata <kentkt@csc.jp> Date: Wed Jan 26 16:45:20 2022 +0000 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 https://github.com/vim/vim/issues/9632)
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 Jan 2022 18:00:04 +0100
parents facb54d20a50
children db1831f585a4
line wrap: on
line diff
--- a/src/vim9script.c
+++ b/src/vim9script.c
@@ -587,7 +587,7 @@ handle_import(
     {
 	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);