X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fcomplex%2Fcimag.c;h=00955641b14a929373a55f9f3f30839d587f3d20;hb=a5d6199d091aad750b1fc325240a141a88ee770e;hp=5e1ad46b3b2f4a2320e9ffa1eadfd54d64ea1027;hpb=b69f695acedd4ce2798ef9ea28d834ceccc789bd;p=musl diff --git a/src/complex/cimag.c b/src/complex/cimag.c index 5e1ad46b..00955641 100644 --- a/src/complex/cimag.c +++ b/src/complex/cimag.c @@ -2,6 +2,5 @@ double (cimag)(double complex z) { - union dcomplex u = {z}; - return u.a[1]; + return cimag(z); }