iovec-util: enclose macro arg in ()

Follow-up for 56f3ae9292
This commit is contained in:
Mike Yuan authored and Yu Watanabe committed 2026-07-26 19:58:08 +09:00
1 parent 86168be51a
commit 5306dca35f
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ struct iovec* iovec_make_string(struct iovec *iovec, const char *s);
#define IOVEC_MAKE_BYTE(c) \
(const struct iovec) { \
.iov_base = (char*) ((const char[]) { c }), \
.iov_base = (char*) ((const char[]) { (c) }), \
.iov_len = 1, \
}