summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2015-08-06 14:35:11 +0200
committerThomas Klausner <wiz@NetBSD.org>2015-08-10 23:42:14 +0200
commitd9e1b3ada5299e050cdae4a4df7fdcc4eec312d0 (patch)
tree82a29288963d6d269af90c84b084adb81093fba6
parentd1acde9df625698d5ac4d153cd951e59a151238e (diff)
Make cast match target variable type.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org> Reviewed-by: Connor Behan <connor.behan@gmail.com>
-rwxr-xr-xsrc/vb_ext.c2
1 files changed, 1 insertions, 1 deletions
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 )