annotate src/typemap @ 13614:87e5629fc915
v8.0.1679
patch 8.0.1679: compiler warning for printf format
commit https://github.com/vim/vim/commit/672afb9f66c64e031a2b609bdee0cb873883c9ec
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 8 16:34:22 2018 +0200
patch 8.0.1679: compiler warning for printf format
Problem: Compiler warning for printf format. (Chdiza)
Solution: Change type to "long long". (closes https://github.com/vim/vim/issues/2791)
author |
Christian Brabandt <cb@256bit.org> |
date |
Sun, 08 Apr 2018 16:45:07 +0200 |
parents |
dec4338a7da2 |
children |
|
rev |
line source |
7
|
1 TYPEMAP
|
|
2 VIWIN T_VIOBJNOMUNGE
|
|
3 VIBUF T_VIOBJNOMUNGE
|
|
4
|
|
5 INPUT
|
|
6 T_VIOBJNOMUNGE
|
|
7 if (sv_isa($arg, \"${ntype}\")) {
|
|
8 IV tmp = SvIV((SV*)SvRV($arg));
|
3344
|
9 $var = INT2PTR($type, tmp);
|
7
|
10 if (!tmp)
|
|
11 croak(\"$ntype no longer exists\");
|
|
12 }
|
|
13 else
|
|
14 croak(\"$var is not of type ${ntype}\")
|