diff --git a/strbuf.h b/strbuf.h index 2075384e0b..e705b94db5 100644 --- a/strbuf.h +++ b/strbuf.h @@ -68,7 +68,7 @@ struct strbuf { }; extern char strbuf_slopbuf[]; -#define STRBUF_INIT { 0, 0, strbuf_slopbuf } +#define STRBUF_INIT { .alloc = 0, .len = 0, .buf = strbuf_slopbuf } /** * Life Cycle Functions