summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2014-08-18 05:35:48 +0800
committerY.C. Chen <yc_chen@aspeedtech.com>2014-08-18 15:09:17 +0800
commit4f404aa29eea5707cfdfe3dc2c762bd46063dfec (patch)
tree2ff004653f19d4201b0eb2f5fb94e965e826616e
parentd531cac475980908ea52309846221a974b8e7efd (diff)
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@NetBSD.org>
-rw-r--r--src/ast_vgatool.c2
1 files changed, 1 insertions, 1 deletions
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);