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/acpi/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/acpi') 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; -- cgit v1.2.3