Remove/fix unused stuff and other warnings

This commit is contained in:
2025-10-14 20:20:41 +02:00
parent 01b37e41c2
commit 0c3250e8d6
17 changed files with 24 additions and 55 deletions

View File

@ -229,7 +229,7 @@ void intr_handleintr(IntrStackFrame *frame) {
default:
IntrHandler *ih, *ihtmp;
LL_FOREACH_SAFE(INTR_HANDLERS, ih, ihtmp) {
if (ih->irq == frame->trapnum) {
if ((uint64_t)ih->irq == frame->trapnum) {
ih->fn();
}
}