aboutsummaryrefslogtreecommitdiff
path: root/sys/x86/xen/xenpv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/x86/xen/xenpv.c')
-rw-r--r--sys/x86/xen/xenpv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/xen/xenpv.c b/sys/x86/xen/xenpv.c
index 50fd9df14912..30e8dbce8943 100644
--- a/sys/x86/xen/xenpv.c
+++ b/sys/x86/xen/xenpv.c
@@ -120,7 +120,7 @@ xenpv_alloc_physmem(device_t dev, device_t child, int *res_id, size_t size)
int error;
res = bus_alloc_resource(child, SYS_RES_MEMORY, res_id, LOW_MEM_LIMIT,
- ~0ul, size, RF_ACTIVE);
+ ~0, size, RF_ACTIVE);
if (res == NULL)
return (NULL);