Skip to content

Commit

Permalink
aio: remove useless use of as
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudef committed Jul 2, 2024
1 parent d086b45 commit 091c47e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aio/posix/windows.zig
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ pub const Timer = struct {
const adjusted: u64 = @bitCast(signed);
return .{
.QuadPart = @bitCast(LARGE_INTEGER{
.l = @as(u32, @truncate(adjusted >> 32)),
.h = @as(u32, @truncate(adjusted)),
.l = @truncate(adjusted >> 32),
.h = @truncate(adjusted),
}),
};
}
Expand Down

0 comments on commit 091c47e

Please sign in to comment.