# translate-c: intcast compound assignment operand if different-sized integer · gitcafe/zig

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

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

Visibility: public

Requested revision: ab9324e604068d4afb4e65a8e587bea95ab1051a

Requested commit: ab9324e604068d4afb4e65a8e587bea95ab1051a

Commit: ab9324e604068d4afb4e65a8e587bea95ab1051a

Tree: 14ea94d51adb927951236e5deb883e90774fefe6

Author: Evan Haas

Committer: Veikka Tuominen

## Message

```
translate-c: intcast compound assignment operand if different-sized integer

Use transCCast to cast the RHS of compound assignment if necessary.

```

## Parents

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

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