diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-11-22 21:49:06 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-11-22 21:49:06 +0100 |
commit | 8dd62ea2908c4f15d295fa05dd0b35e4afc36f38 (patch) | |
tree | 2a2abd54291d9351052c9ed86dcaa527426ffdd6 /i386/include | |
parent | b3b8940afb7f0e2c5ccf52827a81faf989bc7369 (diff) |
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.
Diffstat (limited to 'i386/include')
-rw-r--r-- | i386/include/mach/i386/vm_param.h | 4 |
1 files changed, 2 insertions, 2 deletions
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_ */ |