diff options
Diffstat (limited to 'src/savage_video.c')
-rw-r--r-- | src/savage_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/savage_video.c b/src/savage_video.c index 3b991e8..5ee98cb 100644 --- a/src/savage_video.c +++ b/src/savage_video.c @@ -2003,8 +2003,8 @@ SavagePutImage( /* This situation is expected if AGPforXv is disabled, otherwise report. */ if (pSAVAGEDRIServer->agpXVideo.size > 0) { xf86DrvMsg( pScreen->myNum, X_ERROR, - "[agp] XVideo: not enough space in buffer (got %ld bytes, required %ld bytes).\n", - pSAVAGEDRIServer->agpXVideo.size, max(new_size, planarFrameSize)); + "[agp] XVideo: not enough space in buffer (got %ld bytes, required %d bytes).\n", + (long int)pSAVAGEDRIServer->agpXVideo.size, max(new_size, planarFrameSize)); } pPriv->agpBufferMap = NULL; pPriv->agpBufferOffset = 0; |