summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XF86DGA.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/XF86DGA.c b/src/XF86DGA.c
index 95d7596..573a53f 100644
--- a/src/XF86DGA.c
+++ b/src/XF86DGA.c
@@ -98,7 +98,7 @@ Bool XF86DGAQueryVersion(
Bool XF86DGAGetVideoLL(
Display* dpy,
int screen,
- int *offset,
+ unsigned int *offset,
int *width,
int *bank_size,
int *ram_size
@@ -120,7 +120,7 @@ Bool XF86DGAGetVideoLL(
return False;
}
- *offset = /*(char *)*/rep.offset;
+ *offset = rep.offset;
*width = rep.width;
*bank_size = rep.bank_size;
*ram_size = rep.ram_size;
@@ -678,7 +678,7 @@ XF86DGAGetVideo(
int *bank,
int *ram
){
- /*unsigned long*/ int offset;
+ unsigned int offset;
static int beenHere = 0;
ScrPtr sp;
MapPtr mp;