Repository navigation
Commit fb4e183
committed
Handle array to pointer decay for C literals
In C, as opposed to C++, string literals are char [] instead of const
char [] so cast_mut should be added on ArrayToPointerDecay from char []
to char * instead of NoOp const char * to char *.1 parent e3c9a83 commit fb4e183
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1729 | 1729 | | |
1730 | 1730 | | |
1731 | 1731 | | |
1732 | | - | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
1733 | 1737 | | |
1734 | 1738 | | |
1735 | 1739 | | |
| |||
0 commit comments