tester compiles again

This commit is contained in:
Araq 2013-08-30 18:14:19 +02:00
commit 0c133b3f02

View file

@ -505,7 +505,7 @@ proc setBiggestFloat*(x: TAny, y: biggestFloat) =
## some float. ## some float.
case skipRange(x.rawtype).kind case skipRange(x.rawtype).kind
of tyFloat: cast[ptr Float](x.value)[] = y of tyFloat: cast[ptr Float](x.value)[] = y
of tyFloat32: cast[ptr Float32](x.value)[] = y of tyFloat32: cast[ptr Float32](x.value)[] = y.float32
of tyFloat64: cast[ptr Float64](x.value)[] = y of tyFloat64: cast[ptr Float64](x.value)[] = y
else: assert false else: assert false