@@ -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; \
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user