On So, 28 Apr 2019, Bram Moolenaar wrote:

> Patch 8.1.1228
> Problem:    Not possible to process tags with a function.
> Solution:   Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010)

I see some warnings on appveyor after this patch. Can you please include 
the following patch:

diff --git a/src/tag.c b/src/tag.c
index 5ab4eaab2..1242668a8 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -1391,7 +1391,7 @@ find_tagfunc_tags(
            if (tv->v_type != VAR_STRING || tv->vval.v_string == NULL)
                continue;

-           len += STRLEN(tv->vval.v_string) + 1;   // Space for "\tVALUE"
+           len += (int)STRLEN(tv->vval.v_string) + 1;   // Space for "\tVALUE"
            if (!STRCMP(dict_key, "name"))
            {
                res_name = tv->vval.v_string;
@@ -1415,7 +1415,7 @@ find_tagfunc_tags(
            }
            // Other elements will be stored as "\tKEY:VALUE"
            // Allocate space for the key and the colon
-           len += STRLEN(dict_key) + 1;
+           len += (int)STRLEN(dict_key) + 1;
        }

        if (has_extra)


(Perhaps the STRLEN macro should always cast to (int)?)

Best,
Christian
-- 
Ich glaube an die Gewaltlosigkeit als einziges Heilmittel.
                -- Mahatma Gandhi

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui