]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0649: Wrong comment for "len" argument of call_simple_func() v9.1.0649
authorzeertzjq <zeertzjq@outlook.com>
Thu, 1 Aug 2024 20:46:54 +0000 (22:46 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 1 Aug 2024 20:46:54 +0000 (22:46 +0200)
commitc1ed788c1b41db9b5f1ef548dc877f771f535bbe
tree365d5c779316b7e989d3a37a4211332cf8e39ad8
parentb29f4abcd4b3382fa746edd1d0562b7b48c9de60
patch 9.1.0649: Wrong comment for "len" argument of call_simple_func()

Problem:  Wrong comment for "len" argument of call_simple_func().
Solution: Remove the "or -1 to use strlen()".  Also change its type to
          size_t to remove one cast. (zeertzjq)

closes: #15410

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/eval.c
src/proto/userfunc.pro
src/userfunc.c
src/version.c