# sema: Fix overflow when analyzing an inline switch prong range that ends on the maximum value of the switched type · gitcafe/zig

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

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

Visibility: public

Requested revision: 5fc5e4fbe04ccbe5ea37b07c1153a7c5bd2b4346

Requested commit: 5fc5e4fbe04ccbe5ea37b07c1153a7c5bd2b4346

Commit: 5fc5e4fbe04ccbe5ea37b07c1153a7c5bd2b4346

Tree: 1621f97c37307f64f7ef730384a209f8c52fbac5

Author: kcbanner

Committer: Andrew Kelley

## Message

```
sema: Fix overflow when analyzing an inline switch prong range  that ends on the maximum value of the switched type

```

## Parents

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

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