Date: Wed, 5 Jul 2006 01:43:03 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 100587 for review Message-ID: <200607050143.k651h3cH032724@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100587 Change 100587 by jb@jb_freebsd2 on 2006/07/05 01:42:38 Use a more general variable type to ensure that the unsigned integer is large enough to be cast as a void pointer on 64-bit architectures. This is still a hack. Affected files ... .. //depot/projects/dtrace/src/sys/contrib/opensolaris/compat/sys/vmem.h#2 edit Differences ... ==== //depot/projects/dtrace/src/sys/contrib/opensolaris/compat/sys/vmem.h#2 (text+ko) ==== @@ -28,7 +28,7 @@ #define VM_BESTFIT 0x00000100 #define VMC_IDENTIFIER 0x00040000 /* not backed by memory */ -typedef u_int32_t vmem_t; +typedef uintptr_t vmem_t; typedef void *(vmem_alloc_t)(vmem_t *, size_t, int); typedef void (vmem_free_t)(vmem_t *, void *, size_t);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607050143.k651h3cH032724>