Tiago Vignatti wrote:
> IOADDRESS type definition encompass more than just pci code, so move it to
> common.
>
> Signed-off-by: Tiago Vignatti <[email protected]>
> ---
> hw/xfree86/common/xf86str.h | 1 +
> hw/xfree86/os-support/bus/xf86Pci.h | 3 +--
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hw/xfree86/common/xf86str.h b/hw/xfree86/common/xf86str.h
> index de1f1b6..485c15a 100644
> --- a/hw/xfree86/common/xf86str.h
> +++ b/hw/xfree86/common/xf86str.h
> @@ -58,6 +58,7 @@ typedef uint64_t memType;
> typedef uintptr_t memType;
> #endif
>
> +typedef unsigned long IOADDRESS; /* Must be large enough for a pointer */
If it must be large enough for a pointer, why not use uintptr_t like the code
two lines before it?
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel