mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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:
@@ -7117,7 +7117,7 @@ fix_arg_enc(void)
|
||||
return;
|
||||
|
||||
/* Remember the buffer numbers for the arguments. */
|
||||
fnum_list = (int *)alloc((int)sizeof(int) * GARGCOUNT);
|
||||
fnum_list = (int *)alloc(sizeof(int) * GARGCOUNT);
|
||||
if (fnum_list == NULL)
|
||||
return; /* out of memory */
|
||||
for (i = 0; i < GARGCOUNT; ++i)
|
||||
|
Reference in New Issue
Block a user