# spirv: use intInfo instead of arithmeticTypeInfo in airIntCast · gitcafe/zig

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

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

Visibility: public

Requested revision: 7d519b3383431df48a41d6b32520e5c5e3d77612

Requested commit: 7d519b3383431df48a41d6b32520e5c5e3d77612

Commit: 7d519b3383431df48a41d6b32520e5c5e3d77612

Tree: 00bee0e877593683b7906ef348e40872db4dd30a

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
spirv: use intInfo instead of arithmeticTypeInfo in airIntCast

This ensures that we can also cast enums and error sets here. In the future
this function will need to be changed to support composite and strange
integers, but that is fine.

```

## Parents

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

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