[PATCH:xf86-video-xgi 13/19] Make cast match target variable type.

Thomas Klausner wiz at NetBSD.org
Thu Aug 6 05:57:11 PDT 2015


Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/vb_ext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vb_ext.c b/src/vb_ext.c
index 662cb7b..f4b5d68 100755
--- a/src/vb_ext.c
+++ b/src/vb_ext.c
@@ -139,7 +139,7 @@ void XGI_GetSenseStatus( PXGI_HW_DEVICE_INFO HwDeviceExtension , PVB_DEVICE_INFO
     USHORT tempax = 0 , tempbx , tempcx , temp ,
            P2reg0 = 0 , SenseModeNo = 0 , OutputSelect = pVBInfo->OutputSelect,
            ModeIdIndex , i ;
-    pVBInfo->BaseAddr = ( USHORT )HwDeviceExtension->pjIOAddress ;
+    pVBInfo->BaseAddr = ( ULONG )HwDeviceExtension->pjIOAddress ;
 
     {		/* for 301 */
         if ( pVBInfo->VBInfo & SetCRT2ToHiVisionTV )
-- 
2.5.0



More information about the xorg-devel mailing list