From baa222bb0847b8153a00a8cbf67cfbb9694325b9 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 22 Sep 2019 14:16:07 +0200 Subject: Fixed several GCC warnings --- src/kernel/gdt/gdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/gdt/gdt.c') diff --git a/src/kernel/gdt/gdt.c b/src/kernel/gdt/gdt.c index 813b432..e027fe6 100644 --- a/src/kernel/gdt/gdt.c +++ b/src/kernel/gdt/gdt.c @@ -9,7 +9,7 @@ struct gdt_entry { struct gdt_ptr { unsigned short limit; - unsigned int base; + void *base; } __attribute__((packed)); struct gdt_entry gdt[3]; -- cgit v1.2.3