summaryrefslogtreecommitdiff
path: root/src/savage_dri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/savage_dri.c')
-rw-r--r--src/savage_dri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/savage_dri.c b/src/savage_dri.c
index 6b58301..0a6590a 100644
--- a/src/savage_dri.c
+++ b/src/savage_dri.c
@@ -648,7 +648,7 @@ Bool SAVAGEDRIScreenInit( ScreenPtr pScreen )
pDRIInfo->SAREASize = SAREA_MAX;
- pSAVAGEDRI = (SAVAGEDRIPtr)calloc( sizeof(SAVAGEDRIRec), 1 );
+ pSAVAGEDRI = (SAVAGEDRIPtr)calloc( 1, sizeof(SAVAGEDRIRec) );
if ( !pSAVAGEDRI ) {
DRIDestroyInfoRec( psav->pDRIInfo );
psav->pDRIInfo = 0;
@@ -658,7 +658,7 @@ Bool SAVAGEDRIScreenInit( ScreenPtr pScreen )
}
pSAVAGEDRIServer = (SAVAGEDRIServerPrivatePtr)
- calloc( sizeof(SAVAGEDRIServerPrivateRec), 1 );
+ calloc( 1, sizeof(SAVAGEDRIServerPrivateRec) );
if ( !pSAVAGEDRIServer ) {
free( pSAVAGEDRI );
DRIDestroyInfoRec( psav->pDRIInfo );