Browse Source

* added missing double() typecasts

Jonas Maebe 21 years ago
parent
commit
b193cd19ad
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/test/tint642.pp

+ 2 - 2
tests/test/tint642.pp

@@ -681,11 +681,11 @@ procedure testtypecastqword;
      q1:=$80000000;
      q1:=$80000000;
      q1:=q1 shl 32;
      q1:=q1 shl 32;
      d2:=$80000000;
      d2:=$80000000;
-     if q1<>d2*d2*2.0 then
+     if q1<>double(d2)*d2*2.0 then
        do_error(20);
        do_error(20);
      // register location
      // register location
      q1:=q1+1;
      q1:=q1+1;
-     if q1<>d2*d2*2.0+1 then
+     if q1<>double(d2)*d2*2.0+1 then
        do_error(2014);
        do_error(2014);
   end;
   end;