mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
Use usize instead of u64 in most places for better 32-bit compatibility
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -74,7 +74,7 @@ pub fn draw(self: Doom) void {
|
||||
}
|
||||
}
|
||||
|
||||
fn initBuffer(buffer: []u8, width: u64) void {
|
||||
fn initBuffer(buffer: []u8, width: usize) void {
|
||||
const length = buffer.len - width;
|
||||
const slice_start = buffer[0..length];
|
||||
const slice_end = buffer[length..];
|
||||
|
||||
Reference in New Issue
Block a user