diff options
author | Josh Rahm <rahm@google.com> | 2022-09-12 10:57:30 -0600 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2022-09-12 10:57:30 -0600 |
commit | fef78e339a10ac4bfcf973b8d14d6a759ec9d808 (patch) | |
tree | 76c92e54f8d1e5333e0e071005e48c52150a1304 /src/nvim/viml/parser/parser.h | |
parent | 24c75e4f7be4eb4052939e7d5db7721d88288604 (diff) | |
parent | fd70e2bff2440181f63fe124738cf2a025d1e6a5 (diff) | |
download | rneovim-fef78e339a10ac4bfcf973b8d14d6a759ec9d808.tar.gz rneovim-fef78e339a10ac4bfcf973b8d14d6a759ec9d808.tar.bz2 rneovim-fef78e339a10ac4bfcf973b8d14d6a759ec9d808.zip |
Merge remote-tracking branch 'upstream/master' into userreg
Diffstat (limited to 'src/nvim/viml/parser/parser.h')
-rw-r--r-- | src/nvim/viml/parser/parser.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/viml/parser/parser.h b/src/nvim/viml/parser/parser.h index b8835127e7..55f54cedbe 100644 --- a/src/nvim/viml/parser/parser.h +++ b/src/nvim/viml/parser/parser.h @@ -142,9 +142,7 @@ static inline void viml_preader_get_line(ParserInputReader *const preader, .allocated = true, .size = pline.size, }; - cpline.data = (char *)string_convert(&preader->conv, - (char_u *)pline.data, - &cpline.size); + cpline.data = string_convert(&preader->conv, (char *)pline.data, &cpline.size); if (pline.allocated) { xfree((void *)pline.data); } |