# cbe: msvc compatibility for \> 64 bit intcasts and truncating from \> 64 to \< 64 bit · gitcafe/zig

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

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

Visibility: public

Requested revision: 36212e9d178c32facd0d9d0c1069327758efb943

Requested commit: 36212e9d178c32facd0d9d0c1069327758efb943

Commit: 36212e9d178c32facd0d9d0c1069327758efb943

Tree: 923b1afc3c6370e55a05e3135955f0afb6eb90e4

Author: kcbanner

Committer: kcbanner

## Message

```
cbe: msvc compatibility for > 64 bit intcasts and truncating from > 64 to < 64 bit

- Uses zig_as/zig_lo as necessary when int casting to support !zig_has_int128
- Remove redundant cast if the type is the same
- Use zig_lo when truncating > 64 bits

```

## Parents

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

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