You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the file src/int/i386-idt.c lidt_pointer.base = (uint32_t)&idt_entries; generate warning src/int/i386-idt.c:53:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
IMHO correct usage intptr_t(optional) | signed integer type capable of holding a pointer(typedef) warning-cast-to-from-pointer lidt_pointer.base = (intptr_t)&idt_entries;
The text was updated successfully, but these errors were encountered:
In the file src/int/i386-idt.c
lidt_pointer.base = (uint32_t)&idt_entries;
generate warningsrc/int/i386-idt.c:53:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
IMHO correct usage
intptr_t(optional) | signed integer type capable of holding a pointer(typedef)
warning-cast-to-from-pointer
lidt_pointer.base = (intptr_t)&idt_entries;
The text was updated successfully, but these errors were encountered: