From: Yu Watanabe Date: Thu, 13 Apr 2023 06:20:49 +0000 (+0900) Subject: socket-util: add one missing paren X-Git-Tag: v254-rc1~708^2~5 X-Git-Url: http://git-history.diyao.me/?a=commitdiff_plain;h=4db752e4aaf807428458245e2b90beac4d779523;p=systemd%2F.git socket-util: add one missing paren Follow-up for b6256af75e0609e451198ed90c293efd50827ab3. --- diff --git a/src/basic/socket-util.h b/src/basic/socket-util.h index 7d504319a8..00c2998adb 100644 --- a/src/basic/socket-util.h +++ b/src/basic/socket-util.h @@ -183,7 +183,7 @@ int flush_accept(int fd); * riscv32. */ #define CMSG_TYPED_DATA(cmsg, type) \ ({ \ - struct cmsghdr *_cmsg = cmsg; \ + struct cmsghdr *_cmsg = (cmsg); \ assert_cc(__alignof__(type) <= __alignof__(struct cmsghdr)); \ _cmsg ? CAST_ALIGN_PTR(type, CMSG_DATA(_cmsg)) : (type*) NULL; \ })