summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-08-30 18:14:19 +0200
committerAraq <rumpf_a@web.de>2013-08-30 18:14:19 +0200
commit0c133b3f0273c0beb978c890fd3f47b8f7aff5b2 (patch)
treeb3640d1362565033f1213491b5c64f4e9eb4ddf0 /lib/core
parent8710118b2cb1428a6ddb7929edaeef060f360be9 (diff)
downloadNim-0c133b3f0273c0beb978c890fd3f47b8f7aff5b2.tar.gz
tester compiles again
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/typeinfo.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/typeinfo.nim b/lib/core/typeinfo.nim
index 4ce65ae91..edb4d1188 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