[PATCH:xf86-video-ast] Use uint32_t for a variable that's passed to a function expecting a uint32_t.

Thomas Klausner wiz at NetBSD.org
Sun Jun 2 14:36:52 PDT 2013


---
 src/ast_vgatool.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ast_vgatool.c b/src/ast_vgatool.c
index 513cf7b..378822a 100644
--- a/src/ast_vgatool.c
+++ b/src/ast_vgatool.c
@@ -2709,7 +2709,7 @@ void vGetDefaultSettings(ScrnInfoPtr pScrn)
 Bool InitVGA(ScrnInfoPtr pScrn, ULONG Flags)
 {
    ASTRecPtr pAST;
-   ULONG ulData;
+   uint32_t ulData;
 
    pAST = ASTPTR(pScrn);
 
@@ -3005,7 +3005,7 @@ GetVGAEDID(ScrnInfoPtr pScrn, unsigned char *pEDIDBuffer)
 Bool bInitAST1180(ScrnInfoPtr pScrn)
 {
     ASTRecPtr pAST;	
-    ULONG ulData;
+    uint32_t ulData;
 
     pAST = ASTPTR(pScrn);    
 
-- 
1.8.2.3



More information about the xorg-devel mailing list