summaryrefslogtreecommitdiff
path: root/kernel/drivers/rtl8139.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-04-18 16:59:49 +0200
committerAnton Kling <anton@kling.gg>2024-04-18 16:59:49 +0200
commit8868c3184a0cebefbf5dad66a0526496f4607df8 (patch)
tree01dc107bf714d14e27ca3f17926b320868716c5a /kernel/drivers/rtl8139.c
parent568a0b7017e8e779731325083015907b006866c3 (diff)
Kernel: Fix compiler warnings
Diffstat (limited to 'kernel/drivers/rtl8139.c')
-rw-r--r--kernel/drivers/rtl8139.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/rtl8139.c b/kernel/drivers/rtl8139.c
index 592397f..78e6570 100644
--- a/kernel/drivers/rtl8139.c
+++ b/kernel/drivers/rtl8139.c
@@ -194,7 +194,7 @@ void rtl8139_init(void) {
outl(base_address + 0x44,
0xf); // 0xf is AB+AM+APM+AAP
- install_handler(rtl8139_handler, INT_32_INTERRUPT_GATE(0x3),
+ install_handler((interrupt_handler)rtl8139_handler, INT_32_INTERRUPT_GATE(0x3),
0x20 + interrupt_line);
// ksbrk() seems to have the magical ability of disabling interrupts?