Avoid casting a different sized integer to a pointer on LP64 systems.

This commit is contained in:
peter 2002-05-10 12:50:59 +00:00
parent 8dc69a6709
commit 63e16b5a37

View File

@ -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
/*