mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-24 04:25:06 +02:00
Fix compiler warning
This commit is contained in:
parent
e36d497aa6
commit
a617ba6941
1 changed files with 2 additions and 2 deletions
|
@ -999,14 +999,14 @@
|
||||||
i = obj_obj2int(num1);
|
i = obj_obj2int(num1);
|
||||||
} else if (type_of(num1) == integer_tag) {
|
} else if (type_of(num1) == integer_tag) {
|
||||||
i = ((integer_type *)num1)->value;
|
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;
|
i = ((double_type *)num1)->value;
|
||||||
}
|
}
|
||||||
if (obj_is_int(num2)) {
|
if (obj_is_int(num2)) {
|
||||||
j = obj_obj2int(num2);
|
j = obj_obj2int(num2);
|
||||||
} else if (type_of(num2) == integer_tag) {
|
} else if (type_of(num2) == integer_tag) {
|
||||||
j = ((integer_type *)num2)->value;
|
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;
|
j = ((double_type *)num2)->value;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue