Fix compiler warning

This commit is contained in:
Justin Ethier 2016-08-04 00:30:39 -04:00
parent e36d497aa6
commit a617ba6941

View file

@ -999,14 +999,14 @@
i = obj_obj2int(num1);
} else if (type_of(num1) == integer_tag) {
i = ((integer_type *)num1)->value;
} else if (type_of(num1) == double_tag) {
} else /* Must be double: if (type_of(num1) == double_tag)*/ {
i = ((double_type *)num1)->value;
}
if (obj_is_int(num2)) {
j = obj_obj2int(num2);
} else if (type_of(num2) == integer_tag) {
j = ((integer_type *)num2)->value;
} else if (type_of(num2) == double_tag) {
} else /* Must be double: if (type_of(num2) == double_tag)*/ {
j = ((double_type *)num2)->value;
}
{