diff options
author | Brian Paul <[email protected]> | 2004-03-04 14:52:59 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-03-04 14:52:59 +0000 |
commit | c26c1ddd5644c40992ec050e81027b9a763bc4e5 (patch) | |
tree | 1e589eca7ad5a906890237d1815967b41ca521e2 /src/mesa | |
parent | 94ec525ba5bc763210b1fb0198beeee2fe601b99 (diff) |
silence warnings
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/mga/mgaioctl.c | 6 | ||||
-rw-r--r-- | src/mesa/drivers/dri/mga/mgatexmem.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/mga/mgaioctl.c b/src/mesa/drivers/dri/mga/mgaioctl.c index 37047344747..1179be1eb66 100644 --- a/src/mesa/drivers/dri/mga/mgaioctl.c +++ b/src/mesa/drivers/dri/mga/mgaioctl.c @@ -390,7 +390,7 @@ void mgaCopyBuffer( const __DRIdrawablePrivate *dPriv ) /* This is overkill */ -void mgaFinish( GLcontext *ctx ) +static void mgaFinish( GLcontext *ctx ) { mgaContextPtr mmesa = MGA_CONTEXT(ctx); @@ -588,7 +588,7 @@ void mgaGetILoadBufferLocked( mgaContextPtr mmesa ) { if (MGA_DEBUG&DEBUG_VERBOSE_IOCTL) fprintf(stderr, "mgaGetIloadBuffer (buffer now %p)\n", - mmesa->iload_buffer); + (void *) mmesa->iload_buffer); mmesa->iload_buffer = mga_get_buffer_ioctl( mmesa ); } @@ -600,7 +600,7 @@ drmBufPtr mgaGetBufferLocked( mgaContextPtr mmesa ) -void mgaFlush( GLcontext *ctx ) +static void mgaFlush( GLcontext *ctx ) { mgaContextPtr mmesa = MGA_CONTEXT( ctx ); diff --git a/src/mesa/drivers/dri/mga/mgatexmem.c b/src/mesa/drivers/dri/mga/mgatexmem.c index 01acb9ee736..18743331c6d 100644 --- a/src/mesa/drivers/dri/mga/mgatexmem.c +++ b/src/mesa/drivers/dri/mga/mgatexmem.c @@ -115,7 +115,7 @@ static void mgaUploadSubImage( mgaContextPtr mmesa, if (texImage->Data == NULL) { fprintf(stderr, "null texture image data tObj %p level %d\n", - t->base.tObj, level); + (void *) t->base.tObj, level); return; } |