Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1126 from yebblies/issue9495
Browse files Browse the repository at this point in the history
Required fix for issue 9495
  • Loading branch information
andralex committed Jan 25, 2015
2 parents f1fe717 + 6838ea1 commit 153a0de
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/core/stdc/stdarg.d
Expand Up @@ -96,10 +96,7 @@ else version (Windows) // Win64
* Initialize ap.
* parmn should be the last named parameter.
*/
void va_start(T)(out va_list ap, ref T parmn)
{
ap = cast(va_list)(cast(void*)&parmn + ((size_t.sizeof + size_t.sizeof - 1) & ~(size_t.sizeof - 1)));
}
void va_start(T)(out va_list ap, ref T parmn); // Compiler intrinsic

/************
* Retrieve and return the next value that is type T.
Expand Down

0 comments on commit 153a0de

Please sign in to comment.