Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/stdc/stdarg.d
2 changes: 1 addition & 1 deletion src/core/stdc/stdarg.d
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ version( X86 )
//auto p = cast(void*)(cast(size_t)ap + talign - 1) & ~(talign - 1);
auto p = ap;
auto tsize = ti.tsize;
ap = cast(void*)(cast(size_t)p + ((tsize + size_t.sizeof - 1) & ~(size_t.sizeof - 1)));
ap = cast(va_list)(cast(size_t)p + ((tsize + size_t.sizeof - 1) & ~(size_t.sizeof - 1)));
parmn[0..tsize] = p[0..tsize];
}

Expand Down