diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-04-04 20:49:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-04 20:49:43 +0800 |
| commit | e2bced770351376a5d437e433ffa3cf16442113b (patch) | |
| tree | 2ef160f5d06cfc8e5d3d329371c4aaa724e762a6 /test/functional/vimscript/executable_spec.lua | |
| parent | d10dda8a473a867192d5aee66785fb569bf9d75a (diff) | |
| download | rneovim-e2bced770351376a5d437e433ffa3cf16442113b.tar.gz rneovim-e2bced770351376a5d437e433ffa3cf16442113b.tar.bz2 rneovim-e2bced770351376a5d437e433ffa3cf16442113b.zip | |
vim-patch:9.2.0296: Redundant and incorrect integer pointer casts in drawline.c (#38757)
Problem: Currently `colnr_T` and `int` and the same type, so casting
`int *` to `colnr_T *` is redundant. Additionally, even if
they are changed to different types in the future, these casts
are incorrect as they won't work on big-endian platforms.
Solution: Remove the casts. Also fix two cases of passing false instead
of 0 to an integer argument (zeertzjq).
related: vim/vim#19672
closes: vim/vim#19907
https://github.com/vim/vim/commit/18cd55dbc4b97f06360905aa3efce5ab5d9bcad8
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions