fix compiler warning in hw/xfree86/i2c/tda9850.c

This commit is contained in:
Greg Kroah-Hartman 2006-06-19 14:36:41 -07:00
parent 9f2793551f
commit 29c78321e8

View File

@ -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;
}