mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.439
Problem: Compiler warnings to size casts in Perl interface. Solution: Use XS macros. (James McCoy)
This commit is contained in:
@@ -6,7 +6,7 @@ INPUT
|
||||
T_VIOBJNOMUNGE
|
||||
if (sv_isa($arg, \"${ntype}\")) {
|
||||
IV tmp = SvIV((SV*)SvRV($arg));
|
||||
$var = ($type) tmp;
|
||||
$var = INT2PTR($type, tmp);
|
||||
if (!tmp)
|
||||
croak(\"$ntype no longer exists\");
|
||||
}
|
||||
|
Reference in New Issue
Block a user