|
Passing short value as parameter
Hi every1,
i have a function that accepts short as an argument:
failedcount (short responcode){
switch(responcecode){
case 1:
case 2:
case 3:
}
}
now i have a method that calls it:
create {
failedcount(3) --- here it says can't pass an int value
}
so if i do:
short abc = 3;
and then do failedcount (abc);
Thank you..
|