Browse Source

* fixed for 64 bit CPUs

florian 20 years ago
parent
commit
18c6645bd8
1 changed files with 8 additions and 0 deletions
  1. 8 0
      tests/webtbs/tw3694.pp

+ 8 - 0
tests/webtbs/tw3694.pp

@@ -6,7 +6,15 @@ begin
 end;
 
 var
+{$ifdef CPU64}
+  s : double;
+{$else}
   s : single;
+{$endif CPU64}
 begin
+{$ifdef CPU64}
+  s := double(f);
+{$else CPU64}
   s := single(f);
+{$endif CPU64}
 end.