forked from aniani/vim
updated for version 7.4.087
Problem: Compiler warning on 64 bit Windows systems. Solution: Fix type cast. (Mike Williams)
This commit is contained in:
@@ -2193,7 +2193,8 @@ op_replace(oap, c)
|
||||
else
|
||||
{
|
||||
/* Replacing with \r or \n means splitting the line. */
|
||||
after_p = alloc_check((unsigned)oldlen + 1 + n - STRLEN(newp));
|
||||
after_p = alloc_check(
|
||||
(unsigned)(oldlen + 1 + n - STRLEN(newp)));
|
||||
if (after_p != NULL)
|
||||
STRMOVE(after_p, oldp);
|
||||
}
|
||||
|
Reference in New Issue
Block a user