aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/acpi
diff options
context:
space:
mode:
authorMarvin Borner2019-09-22 14:16:07 +0200
committerMarvin Borner2019-09-22 14:16:07 +0200
commitbaa222bb0847b8153a00a8cbf67cfbb9694325b9 (patch)
treeb7bf6c18d3cea1b5f2cdf7d19ad4b7f6aeba2b23 /src/kernel/acpi
parent678407d44a28b7a7afd6f3873aa2fc36bbcf5e55 (diff)
Fixed several GCC warnings
Diffstat (limited to 'src/kernel/acpi')
-rw-r--r--src/kernel/acpi/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/acpi/acpi.c b/src/kernel/acpi/acpi.c
index e307a6f..32b898b 100644
--- a/src/kernel/acpi/acpi.c
+++ b/src/kernel/acpi/acpi.c
@@ -44,7 +44,7 @@ unsigned int *acpi_check_rsd_ptr(unsigned int *ptr) {
struct RSDPtr *rsdp = (struct RSDPtr *) ptr;
char *bptr;
char check = 0;
- int i;
+ unsigned int i;
if (memory_compare(sig, rsdp, 8) == 0) {
bptr = (char *) ptr;