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 #8676)
diff --git a/src/misc2.c b/src/misc2.c
index bbf55bb..2e83d2d 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -1574,10 +1574,10 @@
{
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;
}
}