summaryrefslogtreecommitdiffstats
path: root/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream.c')
-rw-r--r--stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.c b/stream.c
index cf5e2e8e..24620baf 100644
--- a/stream.c
+++ b/stream.c
@@ -285,7 +285,7 @@ val make_null_stream(void)
{
struct strm_base *s = coerce(struct strm_base *, chk_malloc(sizeof *s));
strm_base_init(s);
- return cobj(convert(mem_t *, s), stream_s, &null_ops.cobj_ops);
+ return cobj(coerce(mem_t *, s), stream_s, &null_ops.cobj_ops);
}
struct stdio_handle {