# bpf: use bitCast instead of intCast in ld_imm_impl · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/496313a1bd4e8a4663ea99942d179a52b57e04e6)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 496313a1bd4e8a4663ea99942d179a52b57e04e6

Requested commit: 496313a1bd4e8a4663ea99942d179a52b57e04e6

Commit: 496313a1bd4e8a4663ea99942d179a52b57e04e6

Tree: cc4624ad0d31a0202ec20db018764dfedf88e567

Author: George Huebner

Committer: Alex Rønne Petersen

## Message

```
bpf: use bitCast instead of intCast in ld_imm_impl

Any 32 bit immediate is allowed in a BPF instruction, including those
greater than the largest positive i32 value.

```

## Parents

- [87448654256d334e1d5877736a9747de67b7eedf](https://git.cafe/gitcafe/zig/commit/87448654256d334e1d5877736a9747de67b7eedf?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/496313a1bd4e8a4663ea99942d179a52b57e04e6?format=markdown)
