From: Ivan Maidanski Date: Wed, 19 Sep 2012 16:29:25 +0000 (+0400) Subject: Fix AO_DOUBLE_T_INITIALIZER definition (x86_64) X-Git-Tag: libatomic_ops-7_4_0~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2cbb98b60d27e29f12b15cdb16407b876655b9a;p=libatomic_ops Fix AO_DOUBLE_T_INITIALIZER definition (x86_64) * src/atomic_ops/sysdeps/standard_ao_double_t.h (AO_DOUBLE_T_INITIALIZER): Fix definition for x86_64 (remove cast of zero since __m128 type is a vector). --- diff --git a/src/atomic_ops/sysdeps/standard_ao_double_t.h b/src/atomic_ops/sysdeps/standard_ao_double_t.h index 71c3bcd..17f94e9 100644 --- a/src/atomic_ops/sysdeps/standard_ao_double_t.h +++ b/src/atomic_ops/sysdeps/standard_ao_double_t.h @@ -45,7 +45,7 @@ typedef union { } AO_double_t; #define AO_HAVE_double_t -#define AO_DOUBLE_T_INITIALIZER { (double_ptr_storage)0 } +#define AO_DOUBLE_T_INITIALIZER { 0 } #define AO_val1 AO_parts.AO_v1 #define AO_val2 AO_parts.AO_v2