Browse code

try fix i386

Nat! authored on 04-07-2016 15:58:46
Showing 1 changed files
... ...
@@ -72,8 +72,8 @@ static inline char  *_mulle_vararg_int_aligned_pointer( mulle_vararg_list *args,
72 72
    
73 73
    if( size < sizeof( int))
74 74
    {
75
-      align = sizeof( int);
76 75
       size  = sizeof( int);
76
+      align = alignof( int);
77 77
    }
78 78
    
79 79
    q       = mulle_align_pointer( args->p, align);
... ...
@@ -122,8 +122,8 @@ static inline char  *_mulle_vararg_double_aligned_pointer( mulle_vararg_list *ar
122 122
    
123 123
    if( size < sizeof( double))
124 124
    {
125
-      align = sizeof( double);
126 125
       size  = sizeof( double);
126
+      align = alignof( double);
127 127
    }
128 128
    
129 129
    q       = mulle_align_pointer( args->p, align);