[PATCH] Fix RPMLINT warning "64bit-portability-issue".

Stefan Dirsch sndirsch at novell.com
Thu Jul 30 02:28:28 PDT 2009


Signed-off-by: Johannes Obermayr <johannesobermayr at gmx.de>
---
 src/tdfx_dri.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tdfx_dri.c b/src/tdfx_dri.c
index 31a1b43..8198595 100644
--- a/src/tdfx_dri.c
+++ b/src/tdfx_dri.c
@@ -359,7 +359,7 @@ Bool TDFXDRIScreenInit(ScreenPtr pScreen)
   pDRIInfo->ddxDriverMajorVersion = TDFX_MAJOR_VERSION;
   pDRIInfo->ddxDriverMinorVersion = TDFX_MINOR_VERSION;
   pDRIInfo->ddxDriverPatchVersion = TDFX_PATCHLEVEL;
-  pDRIInfo->frameBufferPhysicalAddress = pTDFX->LinearAddr[0];
+  pDRIInfo->frameBufferPhysicalAddress = (pointer) pTDFX->LinearAddr[0];
   pDRIInfo->frameBufferSize = pTDFX->FbMapSize;
   pDRIInfo->frameBufferStride = pTDFX->stride;
   pDRIInfo->ddxDrawableTableEntry = TDFX_MAX_DRAWABLES;
-- 
1.7.7


--nextPart1493878.VqSUBDgag7
Content-Disposition: attachment; filename="trident_0001-Fix-warning-control-reaches-end-of-non-void-function.patch"
Content-Transfer-Encoding: 7Bit
Content-Type: text/x-patch; charset="UTF-8"; name="trident-0001-Fix-warning-control-reaches-end-of-non-void-function.patch"



More information about the xorg-devel mailing list