From d2f9663df5b6dc2aa97c28659bbe6fbf1db6ce32 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 30 Sep 2014 13:51:59 +0000 Subject: [PATCH] Fix annoying warning about wrbuf_putc YAZ-789 --- include/yaz/wrbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/yaz/wrbuf.h b/include/yaz/wrbuf.h index 1d4f83b..f5ebf1d 100644 --- a/include/yaz/wrbuf.h +++ b/include/yaz/wrbuf.h @@ -258,7 +258,7 @@ const char *wrbuf_cstr_null(WRBUF b); #define wrbuf_putc(b, c) \ ((void) ((b)->pos >= (b)->size ? wrbuf_grow(b, 1) : 0), \ - (b)->buf[(b)->pos++] = (c), 0) + (b)->buf[(b)->pos++] = (c)) /** \brief writes JSON text to WRBUF with escaping -- 1.7.10.4