testcase warning fix
This commit is contained in:
parent
9c23981992
commit
f970d9aae5
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ int bounceNumber3(int num3) {
|
||||||
%{
|
%{
|
||||||
// split double value a.b into two numbers, a and b*100
|
// split double value a.b into two numbers, a and b*100
|
||||||
$1 = (int)$input;
|
$1 = (int)$input;
|
||||||
$2 = ($input - $1 + 0.005) * 100;
|
$2 = (char)(($input - $1 + 0.005) * 100);
|
||||||
%}
|
%}
|
||||||
%typemap(csin,
|
%typemap(csin,
|
||||||
pre=" $1_type $csinput_$1_type = 50;\n" // $1_type should expand to int
|
pre=" $1_type $csinput_$1_type = 50;\n" // $1_type should expand to int
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue