summaryrefslogtreecommitdiff
path: root/i386/i386/xen.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/xen.h')
-rw-r--r--i386/i386/xen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/xen.h b/i386/i386/xen.h
index 49b0d52f..b434ddaf 100644
--- a/i386/i386/xen.h
+++ b/i386/i386/xen.h
@@ -260,7 +260,7 @@ MACH_INLINE void hyp_set_ldt(void *ldt, unsigned long nbentries) {
.arg1.linear_addr = kvtolin(ldt),
.arg2.nr_ents = nbentries,
};
- int count;
+ unsigned long count;
if (((unsigned long)ldt) & PAGE_MASK)
panic("ldt %p is not aligned on a page\n", ldt);
for (count=0; count<nbentries; count+= PAGE_SIZE/8)