Ignore:
Timestamp:
Jun 21, 2017, 8:53:24 AM (6 years ago)
Author:
max@…
Message:

Silence a few gcc warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/hal_init.c

    r29 r31  
    168168        idt = (struct idt_seg *)&idtstore;
    169169        for (i = 0; i < NCPUIDT; i++) {
    170                 idt_set_seg(&idt[i], x86_traps[i], 0, SDT_SYS386IGT,
     170                idt_set_seg(&idt[i], (void *)x86_traps[i], 0, SDT_SYS386IGT,
    171171                    SEL_KPL, GDT_FIXED_SEL(GDT_KCODE_SEL, SEL_KPL));
    172172        }
Note: See TracChangeset for help on using the changeset viewer.