Skip to content

Commit 8f6ce2d

Browse files
Add missing size_t
1 parent 690ea60 commit 8f6ce2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

juno/net/core.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ private @property bool isWin2k() {
873873
private @property bool supportsIPv6() {
874874
static Nullable!(bool) supportsIPv6_;
875875
if (supportsIPv6_.isNull) {
876-
uint s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_IP);
876+
size_t s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_IP);
877877
if (GetLastError() != WSAEAFNOSUPPORT)
878878
supportsIPv6_ = true;
879879
else

0 commit comments

Comments
 (0)