summaryrefslogtreecommitdiff
path: root/i386/i386/seg.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/seg.h')
-rw-r--r--i386/i386/seg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/seg.h b/i386/i386/seg.h
index b1a14fe4..d2bb3f0d 100644
--- a/i386/i386/seg.h
+++ b/i386/i386/seg.h
@@ -241,7 +241,7 @@ fill_descriptor64(struct real_descriptor64 *_desc, unsigned long base, unsigned
/* Fill a gate with particular values. */
MACH_INLINE void
-fill_gate(struct real_gate *gate, unsigned offset, unsigned short selector,
+fill_gate(struct real_gate *gate, unsigned long offset, unsigned short selector,
unsigned char access, unsigned char word_count)
{
gate->offset_low = offset & 0xffff;