summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kernel/Arch/i386/CPU.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Arch/i386/CPU.h b/Kernel/Arch/i386/CPU.h
index 9542383a2f..2fa2136a1f 100644
--- a/Kernel/Arch/i386/CPU.h
+++ b/Kernel/Arch/i386/CPU.h
@@ -81,7 +81,7 @@ union [[gnu::packed]] Descriptor
void set_limit(u32 l)
{
limit_lo = (u32)l & 0xffff;
- limit_hi = ((u32)l >> 16) & 0xff;
+ limit_hi = ((u32)l >> 16) & 0xf;
}
};