Fix enum type in std.socket to match the receiver type

This commit is contained in:
RazvanN7 2019-06-27 16:14:40 +03:00
parent 075b0ed302
commit 68cd5d1168

View file

@ -325,7 +325,7 @@ shared static ~this() @system nothrow @nogc
/**
* The communication domain used to resolve an address.
*/
enum AddressFamily: int
enum AddressFamily: ushort
{
UNSPEC = AF_UNSPEC, /// Unspecified address family
UNIX = AF_UNIX, /// Local communication