| author | |
| committer | |
| log | 5eb78ba1772b54af1ecfb1cd28cb0f1c46dab9b3 |
| tree | c896d07d2ca8e06231c6efd96f02caeff6820660 |
| parent | f7e9d7aa5d115a6a8158625cd1aceb7e8dafe880 |
updating ptr casting because of previous commit1 files changed, 1 insertions(+), 1 deletions(-)
std/mem.zig+1-1| ... | ... | @@ -63,7 +63,7 @@ pub const IncrementingAllocator = struct { |
| 63 | 63 | .reallocFn = realloc, |
| 64 | 64 | .freeFn = free, |
| 65 | 65 | }, |
| 66 | .bytes = (&u8)(addr)[0...capacity], | |
| 66 | .bytes = @intToPtr(&u8, addr)[0...capacity], | |
| 67 | 67 | .end_index = 0, |
| 68 | 68 | }; |
| 69 | 69 | }, |