From 8cdd89f45647eb134316f3d4bd6668ce69e01875 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Tue, 10 Oct 2017 09:34:03 +0200 Subject: [PATCH] make tests green again --- tests/misc/treadx.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/misc/treadx.nim b/tests/misc/treadx.nim index 2e3904cd1..e68b8933d 100644 --- a/tests/misc/treadx.nim +++ b/tests/misc/treadx.nim @@ -6,7 +6,7 @@ when not defined(windows): var buf: array[0..10, char] while true: var r = read(0, addr(buf), sizeof(buf)-1) - add inp, $buf.cstring + add inp, $cstring(addr buf) if r != sizeof(buf)-1: break echo inp