Skip to content

Commit

Permalink
backend/iocp: alignment change for iocp
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Apr 18, 2024
1 parent 63e8dd8 commit a284cf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/iocp.zig
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ pub const Loop = struct {
continue;
}

break :completion @fieldParentPtr("overlapped", overlapped_ptr.?);
break :completion @alignCast(@fieldParentPtr("overlapped", overlapped_ptr.?));
} else completion: {
// JobObjects are a special case where the OVERLAPPED_ENTRY fields are interpreted differently.
// When JOBOBJECT_ASSOCIATE_COMPLETION_PORT is used, lpOverlapped actually contains the message
Expand Down

0 comments on commit a284cf8

Please sign in to comment.