diff options
Diffstat (limited to 'kernel/mboot/mboot.c')
-rw-r--r-- | kernel/mboot/mboot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/mboot/mboot.c b/kernel/mboot/mboot.c index 08a0f37..9156c3c 100644 --- a/kernel/mboot/mboot.c +++ b/kernel/mboot/mboot.c @@ -3,13 +3,13 @@ void *locate_mboot_table(volatile void *mboot, uint32_t type) { - struct mboot_info *info = (struct mboot_info *) mboot; - const char *mboot_end = ((char *) info) + info->total_size; + struct mboot_info *info = (struct mboot_info *)mboot; + const char *mboot_end = ((char *)info) + info->total_size; char *tag_ptr = info->tags; while (tag_ptr < mboot_end) { - struct mboot_tag *tag = (struct mboot_tag *) tag_ptr; + struct mboot_tag *tag = (struct mboot_tag *)tag_ptr; if (tag->type == type) return tag; |