summaryrefslogtreecommitdiff
path: root/include/complex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/complex.h')
-rw-r--r--include/complex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/complex.h b/include/complex.h
index 23bab7d5..bdddf87b 100644
--- a/include/complex.h
+++ b/include/complex.h
@@ -103,7 +103,7 @@ long double creall(long double complex);
#ifndef __cplusplus
#define __CIMAG(x, t) \
- ((union { _Complex t __z; t __xy[2]; }){(_Complex t)(x)}.__xy[1])
+ (+(union { _Complex t __z; t __xy[2]; }){(_Complex t)(x)}.__xy[1])
#define creal(x) ((double)(x))
#define crealf(x) ((float)(x))