mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 18:58:18 +00:00
eval: Do not use S_LEN as snprintf argument
This commit is contained in:
@@ -20004,7 +20004,8 @@ trans_function_name(
|
|||||||
EMSG(_(e_usingsid));
|
EMSG(_(e_usingsid));
|
||||||
goto theend;
|
goto theend;
|
||||||
}
|
}
|
||||||
sid_buf_len = snprintf(S_LEN(sid_buf), "%" PRIdSCID "_", current_SID);
|
sid_buf_len = snprintf(sid_buf, sizeof(sid_buf),
|
||||||
|
"%" PRIdSCID "_", current_SID);
|
||||||
lead += sid_buf_len;
|
lead += sid_buf_len;
|
||||||
}
|
}
|
||||||
} else if (!(flags & TFN_INT)
|
} else if (!(flags & TFN_INT)
|
||||||
|
Reference in New Issue
Block a user