patch 8.2.3930: getcmdline() argument has a misleading type
Problem: getcmdline() argument has a misleading type.
Solution: Use the correct type, even though the value is not used.
diff --git a/src/ex_getln.c b/src/ex_getln.c
index bffdf65..b4316d8 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -1554,10 +1554,10 @@
*/
char_u *
getcmdline(
- int firstc,
- long count, // only used for incremental search
- int indent, // indent for inside conditionals
- int do_concat UNUSED)
+ int firstc,
+ long count, // only used for incremental search
+ int indent, // indent for inside conditionals
+ getline_opt_T do_concat UNUSED)
{
return getcmdline_int(firstc, count, indent, TRUE);
}