summaryrefslogtreecommitdiff
path: root/hw/xfree86/i2c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-06-19 14:36:41 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-19 14:36:41 -0700
commit29c78321e86956c4ce0c1c899d82557f927e04da (patch)
tree46a18ac159dd7e344b075d0de341c8d6b0e198df /hw/xfree86/i2c
parent9f2793551f335e5fb08990fc8bb9e05e0ffb68d5 (diff)
fix compiler warning in hw/xfree86/i2c/tda9850.c
Diffstat (limited to 'hw/xfree86/i2c')
-rw-r--r--hw/xfree86/i2c/tda9850.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/i2c/tda9850.c b/hw/xfree86/i2c/tda9850.c
index e6afd8165..5b0c581ed 100644
--- a/hw/xfree86/i2c/tda9850.c
+++ b/hw/xfree86/i2c/tda9850.c
@@ -107,6 +107,6 @@ CARD16 tda9850_getstatus(TDA9850Ptr t)
{
CARD16 status;
-I2C_WriteRead(&(t->d), NULL, 0, &status, 2);
+I2C_WriteRead(&(t->d), NULL, 0, (I2CByte *)&status, 2);
return status;
}