From 0c133b3f0273c0beb978c890fd3f47b8f7aff5b2 Mon Sep 17 00:00:00 2001 From: Araq Date: Fri, 30 Aug 2013 18:14:19 +0200 Subject: [PATCH] tester compiles again --- lib/core/typeinfo.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/typeinfo.nim b/lib/core/typeinfo.nim index 4ce65ae911..edb4d11885 100644 --- a/lib/core/typeinfo.nim +++ b/lib/core/typeinfo.nim @@ -505,7 +505,7 @@ proc setBiggestFloat*(x: TAny, y: biggestFloat) = ## some float. case skipRange(x.rawtype).kind 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 else: assert false