mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.4241: some type casts are redundant
Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
This commit is contained in:
committed by
Bram Moolenaar
parent
fb80862e49
commit
420fabcd4f
@@ -3702,7 +3702,7 @@ set_num_option(
|
||||
{
|
||||
if (errbuf != NULL)
|
||||
{
|
||||
vim_snprintf((char *)errbuf, errbuflen,
|
||||
vim_snprintf(errbuf, errbuflen,
|
||||
_(e_need_at_least_nr_lines), min_rows());
|
||||
errmsg = errbuf;
|
||||
}
|
||||
@@ -3712,7 +3712,7 @@ set_num_option(
|
||||
{
|
||||
if (errbuf != NULL)
|
||||
{
|
||||
vim_snprintf((char *)errbuf, errbuflen,
|
||||
vim_snprintf(errbuf, errbuflen,
|
||||
_(e_need_at_least_nr_columns), MIN_COLUMNS);
|
||||
errmsg = errbuf;
|
||||
}
|
||||
|
Reference in New Issue
Block a user