summaryrefslogtreecommitdiff
path: root/src/g80_ddc.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-03-27 15:46:38 -0700
committerAaron Plattner <aplattner@nvidia.com>2007-03-27 15:46:49 -0700
commit0953f081d1592b123dc27fb82d1cfecca079d5de (patch)
treed70ae6866cd0c3df099ed6dccd7b511dbc52bc32 /src/g80_ddc.c
parent7c2a31dec3d04111eaee5292c156753c316d52a9 (diff)
Fix warnings and bump to 2.0.1.
Diffstat (limited to 'src/g80_ddc.c')
-rw-r--r--src/g80_ddc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/g80_ddc.c b/src/g80_ddc.c
index bcc4bff..4fa076e 100644
--- a/src/g80_ddc.c
+++ b/src/g80_ddc.c
@@ -31,6 +31,7 @@
#include "g80_type.h"
#include "g80_ddc.h"
+#include "g80_display.h"
static Bool G80ReadPortMapping(int scrnIndex, G80Ptr pNv)
{
@@ -58,7 +59,7 @@ static Bool G80ReadPortMapping(int scrnIndex, G80Ptr pNv)
entries = table2[2];
for(i = 0; i < entries; i++) {
- CARD32 type, port;
+ int type, port;
ORNum or;
b = *(CARD32*)&table2[headerSize + 8*i];