Bladeren bron

fix warnings in M4

lyon 4 jaren geleden
bovenliggende
commit
9fd48577e4
1 gewijzigde bestanden met toevoegingen van 5 en 3 verwijderingen
  1. 5 3
      port/linux/api-make-linux.sh

+ 5 - 3
port/linux/api-make-linux.sh

@@ -370,13 +370,15 @@ static Arg* VM_instruction_handler_OPT(PikaObj* self,
             goto OPT_exit;
         }
         /* default: int and float */
-        outArg = arg_setInt(outArg, "",
-                            (num1_f - num2_f) * (num1_f - num2_f) < 0.000001);
+        outArg =
+            arg_setInt(outArg, "",
+                       (num1_f - num2_f) * (num1_f - num2_f) < (float)0.000001);
         goto OPT_exit;
     }
     if (strEqu("!=", data)) {
         outArg = arg_setInt(
-            outArg, "", !((num1_f - num2_f) * (num1_f - num2_f) < 0.000001));
+            outArg, "",
+            !((num1_f - num2_f) * (num1_f - num2_f) < (float)0.000001));
         goto OPT_exit;
     }
     if (strEqu(">=", data)) {