# Merge pull request \#6229 from LemonBoy/fix-6054 · gitcafe/zig

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

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

Visibility: public

Requested revision: c86108dd63349cbd99a8821fb4d628f31958e0ed

Requested commit: c86108dd63349cbd99a8821fb4d628f31958e0ed

Commit: c86108dd63349cbd99a8821fb4d628f31958e0ed

Tree: e68a54f384a8908b37e560cadb11c0a91d6af603

Author: Andrew Kelley

Committer: GitHub

## Message

```
Merge pull request #6229 from LemonBoy/fix-6054

ir: Typecheck the sentinel value in *[N:S1]T to [S2]T casts
```

## Parents

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

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

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