summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/savage_dri.c4
-rw-r--r--src/savage_video.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/savage_dri.c b/src/savage_dri.c
index e8a461b..a30e727 100644
--- a/src/savage_dri.c
+++ b/src/savage_dri.c
@@ -733,8 +733,8 @@ Bool SAVAGEDRIScreenInit( ScreenPtr pScreen )
xf86DrvMsg( pScrn->scrnIndex, X_INFO,
"[drm] Sarea %d+%d: %d\n",
- sizeof(XF86DRISAREARec), sizeof(SAVAGESAREAPrivRec),
- sizeof(XF86DRISAREARec) + sizeof(SAVAGESAREAPrivRec) );
+ (int) sizeof(XF86DRISAREARec), (int) sizeof(SAVAGESAREAPrivRec),
+ (int) (sizeof(XF86DRISAREARec) + sizeof(SAVAGESAREAPrivRec)) );
pDRIInfo->SAREASize = SAREA_MAX;
diff --git a/src/savage_video.c b/src/savage_video.c
index e155138..52a8b05 100644
--- a/src/savage_video.c
+++ b/src/savage_video.c
@@ -304,9 +304,9 @@ unsigned int GetBlendForFourCC2000( int id )
void savageOUTREG( SavagePtr psav, unsigned long offset, unsigned long value )
{
ErrorF( "MMIO %08lx, was %08lx, want %08lx,",
- offset, (CARD32)MMIO_IN32( psav->MapBase, offset ), value );
+ offset, (unsigned long)MMIO_IN32( psav->MapBase, offset ), value );
MMIO_OUT32( psav->MapBase, offset, value );
- ErrorF( " now %08lx\n", (CARD32)MMIO_IN32( psav->MapBase, offset ) );
+ ErrorF( " now %08lx\n", (unsigned long)MMIO_IN32( psav->MapBase, offset ) );
}
#if 0