Skip to content

Commit cbe7ff0

Browse files
committedApr 29, 2024·
lint: appease the CI gods
1 parent ebb27d7 commit cbe7ff0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/boot/paging_32.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export fn set_up_page_tables() void {
3636
while (i < 4) : (i += 1) {
3737
p2_tables[i] = std.mem.zeroes([P2_MAX_ENTRIES]u64);
3838
// Set address of page table entry.
39-
var raw_p2_addr = @as(u64, @intCast(@intFromPtr(&p2_tables[i])));
40-
var p2_addr = zasm.PhysAddr.initUnchecked(raw_p2_addr);
39+
const raw_p2_addr = @as(u64, @intCast(@intFromPtr(&p2_tables[i])));
40+
const p2_addr = zasm.PhysAddr.initUnchecked(raw_p2_addr);
4141
p3_page_table_entry.setAddr(p2_addr);
4242
// Set page table entry.
4343
p3_table[i] = p3_page_table_entry.entry;

0 commit comments

Comments
 (0)
Please sign in to comment.