fix std.mem.IncrementingAllocator
updating ptr casting because of previous commitmaster
parent
f7e9d7aa5d
commit
5eb78ba177
|
@ -63,7 +63,7 @@ pub const IncrementingAllocator = struct {
|
||||||
.reallocFn = realloc,
|
.reallocFn = realloc,
|
||||||
.freeFn = free,
|
.freeFn = free,
|
||||||
},
|
},
|
||||||
.bytes = (&u8)(addr)[0...capacity],
|
.bytes = @intToPtr(&u8, addr)[0...capacity],
|
||||||
.end_index = 0,
|
.end_index = 0,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue