mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2367: test failures on some less often used systems
Problem: Test failures on some less often used systems. Solution: Adjust printf formats and types. (James McCoy, closes #7691)
This commit is contained in:
@@ -1935,8 +1935,8 @@ call_def_function(
|
||||
|
||||
if (status == OK && dest_type == VAR_LIST)
|
||||
{
|
||||
varnumber_T lidx = tv_idx->vval.v_number;
|
||||
list_T *list = tv_dest->vval.v_list;
|
||||
long lidx = (long)tv_idx->vval.v_number;
|
||||
list_T *list = tv_dest->vval.v_list;
|
||||
|
||||
if (list == NULL)
|
||||
{
|
||||
@@ -2121,7 +2121,7 @@ call_def_function(
|
||||
else
|
||||
{
|
||||
list_T *l = tv_dest->vval.v_list;
|
||||
varnumber_T n = tv_idx->vval.v_number;
|
||||
long n = (long)tv_idx->vval.v_number;
|
||||
listitem_T *li = NULL;
|
||||
|
||||
li = list_find(l, n);
|
||||
|
Reference in New Issue
Block a user