Module Name: xsrc Committed By: mrg Date: Thu Jul 2 04:14:05 UTC 2009
Modified Files: xsrc/external/mit/xf86-video-savage/dist/src: savage_dri.c Log Message: apply some (uintptr_t) to appease gcc To generate a diff of this commit: cvs rdiff -u -r1.1.1.2 -r1.2 \ xsrc/external/mit/xf86-video-savage/dist/src/savage_dri.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/external/mit/xf86-video-savage/dist/src/savage_dri.c diff -u xsrc/external/mit/xf86-video-savage/dist/src/savage_dri.c:1.1.1.2 xsrc/external/mit/xf86-video-savage/dist/src/savage_dri.c:1.2 --- xsrc/external/mit/xf86-video-savage/dist/src/savage_dri.c:1.1.1.2 Wed Jun 10 00:48:26 2009 +++ xsrc/external/mit/xf86-video-savage/dist/src/savage_dri.c Thu Jul 2 04:14:05 2009 @@ -893,7 +893,7 @@ pDRIInfo->ddxDriverMinorVersion = SAVAGE_VERSION_MINOR; pDRIInfo->ddxDriverPatchVersion = SAVAGE_PATCHLEVEL; - pDRIInfo->frameBufferPhysicalAddress = (pointer) psav->FbRegion.base; + pDRIInfo->frameBufferPhysicalAddress = (pointer)(uintptr_t) psav->FbRegion.base; pDRIInfo->frameBufferSize = psav->videoRambytes; pDRIInfo->frameBufferStride = pScrn->displayWidth*(pScrn->bitsPerPixel/8); pDRIInfo->ddxDrawableTableEntry = SAVAGE_MAX_DRAWABLES;