diff options
| author | Evan Haas <evan@lagerdata.com> | 2021-08-01 17:14:57 -0700 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2021-08-21 16:32:09 +0300 |
| commit | 3b2520583390c7ebbb1e1ea458c9ced04180d9c4 (patch) | |
| tree | 9bd342ec64c9f1852a3ef49f85bc201d15232248 /src/codegen | |
| parent | d57c0cc3bfeff9af297279759ec2b631e6d95140 (diff) | |
| download | zig-3b2520583390c7ebbb1e1ea458c9ced04180d9c4.tar.gz zig-3b2520583390c7ebbb1e1ea458c9ced04180d9c4.zip | |
translate-c: allow string literals to be used as `char *`
In C the type of string literals is `char *`, so when using them in
a non-const context we have to cast the const away.
Fixes #9126
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
