diff options
author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-06-27 00:15:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-27 00:15:48 +0200 |
commit | 1070fe5b4044b34cf86d9c0b79038cbe2aab637b (patch) | |
tree | 77168cd69915ac3e382b1c640cda2d5162d12c50 /patches | |
parent | 7ad0f06a07081b0efb37cb3061b013d426e7ab92 (diff) | |
parent | a5a36337e88a15befbb814cdd14a4801e44f6673 (diff) |
Merge pull request #333 from ratfactor/v3853
Revised exercises due to the changes of Zig version 0.11.0-dev.3853
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patches/078_sentinels3.patch | 2 | ||||
-rw-r--r-- | patches/patches/096_memory_allocation.patch | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/patches/patches/078_sentinels3.patch b/patches/patches/078_sentinels3.patch index 94257b0..31185d6 100644 --- a/patches/patches/078_sentinels3.patch +++ b/patches/patches/078_sentinels3.patch @@ -1,4 +1,4 @@ 24c24 < const printable: [*:0]const u8 = ???; --- -> const printable: [*:0]const u8 = @ptrCast([*:0]const u8, data); +> const printable: [*:0]const u8 = @ptrCast(data); diff --git a/patches/patches/096_memory_allocation.patch b/patches/patches/096_memory_allocation.patch index fd990b0..a3db349 100644 --- a/patches/patches/096_memory_allocation.patch +++ b/patches/patches/096_memory_allocation.patch @@ -1,4 +1,4 @@ -66c66 +67c67 < var avg: []f64 = ???; --- > var avg: []f64 = try allocator.alloc(f64, arr.len); |