diff options
| author | Chris Boesch <[email protected]> | 2023-06-26 23:43:39 +0200 |
|---|---|---|
| committer | Chris Boesch <[email protected]> | 2023-06-26 23:43:39 +0200 |
| commit | a5a36337e88a15befbb814cdd14a4801e44f6673 (patch) | |
| tree | 026ae50af63d732bb862f8a5b92dbce86af405ea /patches | |
| parent | c3aed336e70392e33dfebf32489f803bf6736ab9 (diff) | |
| download | ziglings-a5a36337e88a15befbb814cdd14a4801e44f6673.tar.xz ziglings-a5a36337e88a15befbb814cdd14a4801e44f6673.zip | |
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); |
