summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2008-01-25 18:15:12 -0800
committerAaron Plattner <aplattner@nvidia.com>2008-01-25 18:15:12 -0800
commitd2367140ad1fe96bce5e780332d21999e5aa31bf (patch)
treed58ca9c7eca9c1e3661eb7b9ccf73a2d61c5f3ff
parente844f10c7b5e41330f2bcb884ab448641dd5bb06 (diff)
Fix warning.
-rw-r--r--src/g80_output.c2
-rw-r--r--src/g80_type.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/g80_output.c b/src/g80_output.c
index 53c0954..d2ea9ee 100644
--- a/src/g80_output.c
+++ b/src/g80_output.c
@@ -32,7 +32,7 @@
#include "g80_display.h"
#include "g80_output.h"
-static CARD32 G80FindLoadVal(const unsigned char *table1)
+static unsigned G80FindLoadVal(const unsigned char *table1)
{
const unsigned char *p = table1;
int count;
diff --git a/src/g80_type.h b/src/g80_type.h
index fc31085..5f4ee08 100644
--- a/src/g80_type.h
+++ b/src/g80_type.h
@@ -56,7 +56,7 @@ typedef struct G80Rec {
Bool present;
ORNum or;
} lvds;
- CARD32 loadVal;
+ unsigned loadVal;
xf86Int10InfoPtr int10;
int int10Mode; /* Console mode to restore */