From f842c229d4c4dbd5c01364f9e99709bedfd32be6 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Fri, 28 Oct 2005 16:01:17 +0000 Subject: [PATCH] build fix on alpha --- hw/xfree86/common/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h index b7d813329..f7df9b649 100644 --- a/hw/xfree86/common/compiler.h +++ b/hw/xfree86/common/compiler.h @@ -1694,7 +1694,7 @@ static __inline__ int xf86ReadMmio32(void *Base, unsigned long Offset) { __asm__ __volatile__("mb" : : : "memory"); - return *(volatile CARD32*)((unsigned long)Base+(Offset)); + return *(volatile unsigned int*)((unsigned long)Base+(Offset)); } # endif extern void (*xf86WriteMmio8)(int, void *, unsigned long);