D-Programming-Language/phobos — pull request #767 by redstar (2012-09-02 18:51:18+00:00)
Title: socket.d: Add required cast for 64 bit compilation on Windows

If you compile phobos targeting Win64 (using LDC2), an error occurs because `ai_addrlen` is of type `size_t` (64 bit), but `UnknownAddressReference.len` is of type `socklen_t` (32 bit).
I checked both types in the Windows C Runtime. The types in D and C are equal. Therefore this cast is missing or `UnknownAddressReference.len` needs to be changed.