diff options
author | K.Takata <kentkt@csc.jp> | 2022-01-26 16:45:20 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-26 16:45:20 +0000 |
commit | 1a804528ab39f5c810cf42397702057100a94ade (patch) | |
tree | ce84923d37f822bcbd52deb896c578f146c059f5 /src/vim9script.c | |
parent | 47d1666d605998a97d3827eca4d467ad0930b284 (diff) | |
download | vim-git-1a804528ab39f5c810cf42397702057100a94ade.tar.gz |
patch 8.2.4223: long/int compiler warnings; function arguments swappedv8.2.4223
Problem: Long/int compiler warnings; function arguments swapped.
Solution: Add type casts. Swap arguments. (Ken Takata, closes #9632)
Diffstat (limited to 'src/vim9script.c')
-rw-r--r-- | src/vim9script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vim9script.c b/src/vim9script.c index e13ac4ac4..5c1c05566 100644 --- 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); |