diff options
-rw-r--r-- | buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -255,7 +255,7 @@ static val make_ubuf(ucnum clen) static struct buf *buf_handle(val buf, val ctx) { if (type(buf) == BUF) - return coerce(struct buf *, buf); + return &buf->b; uw_throwf(error_s, lit("~a: ~s isn't a buffer"), ctx, buf, nao); } |