From 8dd62ea2908c4f15d295fa05dd0b35e4afc36f38 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 22 Nov 2009 21:49:06 +0100 Subject: Remove (vm_offset_t) casts from constants * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS, VM_MAX_KERNEL_ADDRESS, LINEAR_MIN_KERNEL_ADDRESS, LINEAR_MAX_KERNEL_ADDRESS): Remove (vm_offset_t) cast, use UL suffix instead. * i386/include/mach/i386/vm_param.h (VM_MIN_ADDRESS, VM_MAX_ADDRESS): Remove (vm_offset_t) cast, use UL suffix instead. --- i386/include/mach/i386/vm_param.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i386/include') diff --git a/i386/include/mach/i386/vm_param.h b/i386/include/mach/i386/vm_param.h index 87f5076..6d7c5f3 100644 --- a/i386/include/mach/i386/vm_param.h +++ b/i386/include/mach/i386/vm_param.h @@ -72,7 +72,7 @@ not be increased to more than 3GB as glibc and hurd servers would not cope with that. */ -#define VM_MIN_ADDRESS ((vm_offset_t) 0) -#define VM_MAX_ADDRESS ((vm_offset_t) 0xc0000000) +#define VM_MIN_ADDRESS (0) +#define VM_MAX_ADDRESS (0xc0000000UL) #endif /* _MACH_I386_VM_PARAM_H_ */ -- cgit v1.2.3