We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39004fc commit 7c4b17dCopy full SHA for 7c4b17d
deps/libsmb2/lib/alloc.c
@@ -71,8 +71,8 @@
71
#endif
72
73
#define container_of(ptr, type, member) ({ \
74
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
75
- (type *)(void *)( (char *)__mptr - offsetof(type,member) );})
+ const __typeof__(((type *)0)->member) *__mptr = (ptr); \
+ (type *)(void *)((char *)__mptr - offsetof(type, member)); })
76
77
struct smb2_alloc_entry {
78
struct smb2_alloc_entry *next;
0 commit comments