Mercurial > vim
diff src/misc2.c @ 25435:6ad76124ddda v8.2.3254
patch 8.2.3254: win_gettype() does not recognize a quickfix window
Commit: https://github.com/vim/vim/commit/28d8421bfb3327d7a5e81369977e8fc108b0229e
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sat Jul 31 12:43:23 2021 +0200
patch 8.2.3254: win_gettype() does not recognize a quickfix window
Problem: win_gettype() does not recognize a quickfix window.
Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8676)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 31 Jul 2021 12:45:05 +0200 |
parents | 02d1b2817585 |
children | bb1097899693 |
line wrap: on
line diff
--- a/src/misc2.c +++ b/src/misc2.c @@ -1574,10 +1574,10 @@ ga_concat_len(garray_T *gap, char_u *s, { if (s == NULL || *s == NUL) return; - if (ga_grow(gap, len) == OK) + if (ga_grow(gap, (int)len) == OK) { - mch_memmove((char *)gap->ga_data + gap->ga_len, s, (size_t)len); - gap->ga_len += len; + mch_memmove((char *)gap->ga_data + gap->ga_len, s, len); + gap->ga_len += (int)len; } }