From: Mike Yuan Date: Thu, 26 Mar 2026 16:58:44 +0000 (+0100) Subject: iovec-util: enclose macro arg in () X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5306dca35fab50688606a45222c5f2c9fe9db9f8;p=thirdparty%2Fsystemd.git iovec-util: enclose macro arg in () Follow-up for 56f3ae9292742fff1cac6dbe4883a1715e56e874 --- diff --git a/src/basic/iovec-util.h b/src/basic/iovec-util.h index d054e404d14..ab6178d653a 100644 --- a/src/basic/iovec-util.h +++ b/src/basic/iovec-util.h @@ -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, \ }