[PATCH:xf86-video-ast] Use proper type.

YC Chen yc_chen at aspeedtech.com
Mon Aug 18 00:24:48 PDT 2014


Hi Thomas,
Thanks, I had pushed it to git repository. Please let me know if I missed anythings.
Tested-by: Y.C. Chen <yc_chen at aspeedtech.com>

-----Original Message-----
From: Thomas Klausner [mailto:wiz at NetBSD.org] 
Sent: Monday, August 18, 2014 5:35 AM
To: xorg-devel at lists.x.org
Cc: YC Chen; Thomas Klausner
Subject: [PATCH:xf86-video-ast] Use proper type.

Two other places in this file already use uint32_t when passing
it to PCI_READ_LONG.

Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/ast_vgatool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ast_vgatool.c b/src/ast_vgatool.c
index d028ad7..7e96d2b 100644
--- a/src/ast_vgatool.c
+++ b/src/ast_vgatool.c
@@ -3444,7 +3444,7 @@ void ASTGetAST1180DRAMInfo(ScrnInfoPtr pScrn)
 void vASTEnableVGAMMIO(ScrnInfoPtr pScrn)
 {
     ASTRecPtr pAST = ASTPTR(pScrn);
-    ULONG ulData;
+    uint32_t ulData;
     UCHAR jReg;
 
     jReg = inb(pAST->RelocateIO + 0x43);
-- 
1.9.4



More information about the xorg-devel mailing list