diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-04-23 13:28:44 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-04-25 11:23:41 -0700 |
| commit | 0f65cc9275cde61fe20f28e4f059c8af4c63b051 (patch) | |
| tree | 7c3d3382a95906f7f1529c5536f25f5f6827ab7f /test/behavior/basic.zig | |
| parent | 057c950093085e392fcdd6d6c8e7fb4356dd9959 (diff) | |
| download | zig-0f65cc9275cde61fe20f28e4f059c8af4c63b051.tar.gz zig-0f65cc9275cde61fe20f28e4f059c8af4c63b051.zip | |
C backend: fix memset for loop lowering
Previously, this code casted the array pointer to u8 pointer, but I
removed that in a different commit. This commit restores the cast, but
instead of hard-coding u8, it uses the destination element pointer,
since memset now supports arbitrary element types.
Diffstat (limited to 'test/behavior/basic.zig')
0 files changed, 0 insertions, 0 deletions
