Date: Fri, 10 May 2002 05:41:53 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 11110 for review Message-ID: <200205101241.g4ACfru39757@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11110 Change 11110 by peter@peter_ia64 on 2002/05/10 05:41:39 Fix warning: cast to pointer from different sized integer. This is nasty on ia64. Affected files ... ... //depot/projects/ia64/lib/libc/stdlib/malloc.c#9 edit Differences ... ==== //depot/projects/ia64/lib/libc/stdlib/malloc.c#9 (text+ko) ==== @@ -95,7 +95,7 @@ #endif /* __FOOCPU__ && __BAROS__ */ #ifndef ZEROSIZEPTR -#define ZEROSIZEPTR ((void *)(1 << (malloc_pageshift - 1))) +#define ZEROSIZEPTR ((void *)(uintptr_t)(1 << (malloc_pageshift - 1))) #endif /* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205101241.g4ACfru39757>