forked from aniani/vim
patch 8.1.1393: unnecessary type casts
Problem: Unnecessary type casts. Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
This commit is contained in:
@@ -1429,7 +1429,7 @@ do_search(
|
||||
// Reserve enough space for the search pattern + offset.
|
||||
len = STRLEN(p) + off_len + 3;
|
||||
|
||||
msgbuf = alloc((int)len);
|
||||
msgbuf = alloc(len);
|
||||
if (msgbuf != NULL)
|
||||
{
|
||||
vim_memset(msgbuf, ' ', len);
|
||||
|
||||
Reference in New Issue
Block a user