# translate-c: Add \`@truncate\` where needed · gitcafe/zig

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

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

Visibility: public

Requested revision: fe1a166589db0f2371429c93e1e1e622c19378f1

Requested commit: fe1a166589db0f2371429c93e1e1e622c19378f1

Commit: fe1a166589db0f2371429c93e1e1e622c19378f1

Tree: 293a4089e582d60e9beed6275579889eab694fc5

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
translate-c: Add `@truncate` where needed

Make getLimitedValue API much easier to use with zig.
Fixes the compilation on 32bit hosts.

```

## Parents

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

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