Fix GDT parethesis warning

This commit is contained in:
2025-08-10 21:38:53 +02:00
parent 83e58b0ac2
commit 95173a17bd

View File

@ -60,7 +60,7 @@ void gdt_setenty(GdtEntry *entry, uint32_t base, uint32_t limit, uint8_t access,
entry->basemid = (base >> 16) & 0xff;
entry->basehigh = (base >> 24) & 0xff;
entry->limitlow = limit & 0xffff;
entry->gran = (limit >> 16) & 0x0f | (gran & 0xf0);
entry->gran = ((limit >> 16) & 0x0f) | (gran & 0xf0);
entry->access = access;
}