0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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)
This commit is contained in:
K.Takata
2022-01-26 16:45:20 +00:00
committed by Bram Moolenaar
parent 47d1666d60
commit 1a804528ab
4 changed files with 5 additions and 3 deletions

View File

@@ -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);