D-Programming-Language/druntime — pull request #123 by redstar (2012-01-14 21:00:07+00:00)
Title: Add assert() before casting stack_size parameter of _beginthreadex to uint.

The parameter stack_size of _beginthreadex is of type uint. A cast of calculated variable m_sz (of type size_t) is needed on 64 bit. This pull requests adds an assert to check the cast and the cast itself.