# translate-c: Use \`@constCast\` and \`@volatileCast\` to remove CV-qualifiers · gitcafe/zig

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

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

Visibility: public

Requested revision: 0a6cd257b9c8a9093b966e3851dc8261e19b531a

Requested commit: 0a6cd257b9c8a9093b966e3851dc8261e19b531a

Commit: 0a6cd257b9c8a9093b966e3851dc8261e19b531a

Tree: 84276cf942339bac3d0a63c2d81ad26f04e7dc64

Author: Evan Haas

Committer: Veikka Tuominen

## Message

```
translate-c: Use `@constCast` and `@volatileCast` to remove CV-qualifiers

Instead of converting a pointer to an int and then back to a pointer.

```

## Parents

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

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