summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/basic/denytest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/basic/denytest.c b/source4/torture/basic/denytest.c
index 2019ec5a02..81e90f88c8 100644
--- a/source4/torture/basic/denytest.c
+++ b/source4/torture/basic/denytest.c
@@ -2095,11 +2095,11 @@ static int cxd_find_known(struct createx_data *cxd)
return -1;
}
-#define FILL_NTCREATEX(_struct, _init...) \
- do { \
- (_struct)->generic.level = RAW_OPEN_NTCREATEX; \
- (_struct)->ntcreatex.in \
- = (typeof((_struct)->ntcreatex.in)) {_init};\
+#define FILL_NTCREATEX(_struct, _init...) \
+ do { \
+ (_struct)->generic.level = RAW_OPEN_NTCREATEX; \
+ (_struct)->ntcreatex.in \
+ = (__typeof__((_struct)->ntcreatex.in)) {_init}; \
} while (0)
#define CREATEX_NAME "\\createx_dir"