mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 07:28:34 +00:00

rv is int64_t but its address is being passed into win_get_tabwin as if it were an int. This breaks on big-endian systems, since win_get_tabwin will store the data to the "wrong" half of the int64_t, thus returning invalid data out of nvim_win_get_number.