Fix #32
This commit is contained in:
parent
e77a499fa2
commit
8fa033a49f
@ -296,7 +296,8 @@ final class IOCPLoop : Loop
|
|||||||
return; // Timeout
|
return; // Timeout
|
||||||
}
|
}
|
||||||
|
|
||||||
auto overlapped = (cast(SocketState) ((cast(void*) overlap) - 8));
|
enum size_t offset = size_t.sizeof * 2;
|
||||||
|
auto overlapped = cast(SocketState) ((cast(void*) overlap) - offset);
|
||||||
assert(overlapped !is null);
|
assert(overlapped !is null);
|
||||||
scope (failure)
|
scope (failure)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user