Avoid casting a different sized integer to a pointer on LP64 systems.
This commit is contained in:
parent
8dc69a6709
commit
63e16b5a37
@ -95,7 +95,7 @@ __FBSDID("$FreeBSD$");
|
||||
#endif /* __FOOCPU__ && __BAROS__ */
|
||||
|
||||
#ifndef ZEROSIZEPTR
|
||||
#define ZEROSIZEPTR ((void *)(1 << (malloc_pageshift - 1)))
|
||||
#define ZEROSIZEPTR ((void *)(uintptr_t)(1 << (malloc_pageshift - 1)))
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user