diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2012-05-16 12:18:50 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2012-05-16 12:18:50 +0000 |
| commit | d2e528c7f482071832db7e63a80bf2d21ba84b48 (patch) | |
| tree | 9e5af69029f4a5312f3fdd3d68278d367c515963 | |
| parent | adffb5f872a1d4975c53c6d4e4b36aef9d0a75aa (diff) | |
small fix for compiling the robust parser on MacOS
| -rw-r--r-- | src/runtime/c/gu/seq.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/runtime/c/gu/seq.c b/src/runtime/c/gu/seq.c index 7b9f9c1ab..761d8d945 100644 --- a/src/runtime/c/gu/seq.c +++ b/src/runtime/c/gu/seq.c @@ -300,11 +300,11 @@ gu_buf_outbuf_end(GuOutStream* stream, size_t sz, GuExn* err) GuOut* gu_buf_out(GuBuf* buf, GuPool* pool) { - GuBufOut* bout = gu_new_i(pool, GuBufOut, - .stream.output = gu_buf_out_output, - .stream.begin_buf = gu_buf_outbuf_begin, - .stream.end_buf = gu_buf_outbuf_end, - .buf = buf); + GuBufOut* bout = gu_new(GuBufOut, pool); + bout->stream.output = gu_buf_out_output; + bout->stream.begin_buf = gu_buf_outbuf_begin; + bout->stream.end_buf = gu_buf_outbuf_end; + bout->buf = buf; return gu_new_out(&bout->stream, pool); } |
