Fix cast for unsigned short #26
This commit is contained in:
@@ -276,7 +276,7 @@ namespace chaiscript
|
|||||||
} else if (inp_ == typeid(boost::int8_t)) {
|
} else if (inp_ == typeid(boost::int8_t)) {
|
||||||
return oper_rhs<boost::int8_t, false>(t_oper, t_lhs, t_rhs);
|
return oper_rhs<boost::int8_t, false>(t_oper, t_lhs, t_rhs);
|
||||||
} else if (inp_ == typeid(boost::int16_t)) {
|
} else if (inp_ == typeid(boost::int16_t)) {
|
||||||
return oper_rhs<boost::int32_t, false>(t_oper, t_lhs, t_rhs);
|
return oper_rhs<boost::int16_t, false>(t_oper, t_lhs, t_rhs);
|
||||||
} else if (inp_ == typeid(boost::int32_t)) {
|
} else if (inp_ == typeid(boost::int32_t)) {
|
||||||
return oper_rhs<boost::int32_t, false>(t_oper, t_lhs, t_rhs);
|
return oper_rhs<boost::int32_t, false>(t_oper, t_lhs, t_rhs);
|
||||||
} else if (inp_ == typeid(boost::int64_t)) {
|
} else if (inp_ == typeid(boost::int64_t)) {
|
||||||
|
Reference in New Issue
Block a user