aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/xgi/common/vb_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/xgi/common/vb_util.c')
-rw-r--r--src/drivers/xgi/common/vb_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/xgi/common/vb_util.c b/src/drivers/xgi/common/vb_util.c
index b56df08b31..dbaaa0c907 100644
--- a/src/drivers/xgi/common/vb_util.c
+++ b/src/drivers/xgi/common/vb_util.c
@@ -33,7 +33,7 @@ u8 xgifb_reg_get(unsigned long port, u8 index)
}
void xgifb_reg_and_or(unsigned long port, u8 index,
- unsigned data_and, unsigned data_or)
+ unsigned int data_and, unsigned int data_or)
{
u8 temp;
@@ -42,7 +42,7 @@ void xgifb_reg_and_or(unsigned long port, u8 index,
xgifb_reg_set(port, index, temp);
}
-void xgifb_reg_and(unsigned long port, u8 index, unsigned data_and)
+void xgifb_reg_and(unsigned long port, u8 index, unsigned int data_and)
{
u8 temp;
@@ -51,7 +51,7 @@ void xgifb_reg_and(unsigned long port, u8 index, unsigned data_and)
xgifb_reg_set(port, index, temp);
}
-void xgifb_reg_or(unsigned long port, u8 index, unsigned data_or)
+void xgifb_reg_or(unsigned long port, u8 index, unsigned int data_or)
{
u8 temp;