diff options
author | Marvin Borner | 2019-09-22 14:16:07 +0200 |
---|---|---|
committer | Marvin Borner | 2019-09-22 14:16:07 +0200 |
commit | baa222bb0847b8153a00a8cbf67cfbb9694325b9 (patch) | |
tree | b7bf6c18d3cea1b5f2cdf7d19ad4b7f6aeba2b23 /src/kernel/gdt/gdt.c | |
parent | 678407d44a28b7a7afd6f3873aa2fc36bbcf5e55 (diff) |
Fixed several GCC warnings
Diffstat (limited to 'src/kernel/gdt/gdt.c')
-rw-r--r-- | src/kernel/gdt/gdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |