]> granicus.if.org Git - libatomic_ops/commitdiff
Fix AO_DOUBLE_T_INITIALIZER definition (x86_64)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 19 Sep 2012 16:29:25 +0000 (20:29 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 19 Sep 2012 16:41:01 +0000 (20:41 +0400)
* 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).

src/atomic_ops/sysdeps/standard_ao_double_t.h

index 71c3bcda7aae8b41cb06bbf1c850e6b365101689..17f94e9ff2ca8f9ee22a935b5001bfca7c383e92 100644 (file)
@@ -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