#convert [n]u8 to [*]u8
1 messages · Page 1 of 1 (latest)
try taking the address of temp_freq
1 messages · Page 1 of 1 (latest)
...../src/main.zig:35:21: error: expected type '[*]u8', found '[127]u8'
@memset(temp_freq, 0, temp_freq.len);
^~~~~~~~~
so, i want to empty this array but temp_freq is of type [127]u8 and memset needs [*]u8, how do i do that type conversion ?
try taking the address of temp_freq