diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-30 17:24:15 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-30 17:24:15 +0200 |
commit | 65d1d4184483036a7ba159ad28b29001c0ec8b4e (patch) | |
tree | cb2d551ae681d6012aa86c8f0a309e307ca95c56 /source4 | |
parent | 01f1f87aa91e8a887a6405ead2e96d6a659c4ec0 (diff) | |
download | samba-65d1d4184483036a7ba159ad28b29001c0ec8b4e.tar.gz samba-65d1d4184483036a7ba159ad28b29001c0ec8b4e.tar.bz2 samba-65d1d4184483036a7ba159ad28b29001c0ec8b4e.zip |
s4:torture/basic/denytest.c - use "typeof" in a better supported syntax
This should make it compatible with the SUN Studio C Compiler.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/basic/denytest.c | 10 |
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" |