diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-06 14:20:00 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-03-06 14:20:00 +0100 |
commit | e8d96ecabebb5b6311c9af066cf80f5018d59b9a (patch) | |
tree | 872e7eb802bd3f2c849e0fbb9350392376742007 /linux/drivers/media/dvb | |
parent | 8ff9ed6b3df6436c1f12119309667c3621c08bab (diff) | |
download | mediapointer-dvb-s2-e8d96ecabebb5b6311c9af066cf80f5018d59b9a.tar.gz mediapointer-dvb-s2-e8d96ecabebb5b6311c9af066cf80f5018d59b9a.tar.bz2 |
stv0900: fix some compile warnings on 64-bit systems.
From: Hans Verkuil <hverkuil@xs4all.nl>
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0900_core.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0900_core.c b/linux/drivers/media/dvb/frontends/stv0900_core.c index c86c3017e..e9d03d0d2 100644 --- a/linux/drivers/media/dvb/frontends/stv0900_core.c +++ b/linux/drivers/media/dvb/frontends/stv0900_core.c @@ -62,16 +62,16 @@ static struct stv0900_inode *find_inode(struct i2c_adapter *i2c_adap, (temp_chip->internal->i2c_addr != i2c_addr))) { temp_chip = temp_chip->next_inode; - dprintk(KERN_INFO "%s: store.adap %x\n", __func__, - (int)&(*temp_chip->internal->i2c_adap)); - dprintk(KERN_INFO "%s: init.adap %x\n", __func__, - (int)&(*i2c_adap)); + dprintk(KERN_INFO "%s: store.adap %p\n", __func__, + temp_chip->internal->i2c_adap); + dprintk(KERN_INFO "%s: init.adap %p\n", __func__, + i2c_adap); } if (temp_chip != NULL) {/* find by i2c adapter & address */ - dprintk(KERN_INFO "%s: store.adap %x\n", __func__, - (int)temp_chip->internal->i2c_adap); - dprintk(KERN_INFO "%s: init.adap %x\n", __func__, - (int)i2c_adap); + dprintk(KERN_INFO "%s: store.adap %p\n", __func__, + temp_chip->internal->i2c_adap); + dprintk(KERN_INFO "%s: init.adap %p\n", __func__, + i2c_adap); } } @@ -1496,7 +1496,7 @@ static enum dvbfe_search stv0900_search(struct dvb_frontend *fe, enum fe_stv0900_error error = STV0900_NO_ERROR; - dprintk(KERN_INFO "%s: Internal = %x\n", __func__, (u32)i_params); + dprintk(KERN_INFO "%s: Internal = %p\n", __func__, i_params); p_result.locked = FALSE; p_search.path = state->demod; @@ -1619,7 +1619,7 @@ static int stv0900_read_status(struct dvb_frontend *fe, enum fe_status *status) { struct stv0900_state *state = fe->demodulator_priv; - dprintk("%s: Internal = %x\n", __func__, (unsigned int)state->internal); + dprintk("%s: Internal = %p\n", __func__, state->internal); if ((stv0900_status(state->internal, state->demod)) == TRUE) { dprintk("DEMOD LOCK OK\n"); @@ -1935,8 +1935,8 @@ struct dvb_frontend *stv0900_attach(const struct stv0900_config *config, if (err_stv0900) goto error; - dprintk(KERN_INFO "%s: Init Result = %d, handle_stv0900 = %x\n", - __func__, err_stv0900, (unsigned int)state->internal); + dprintk(KERN_INFO "%s: Init Result = %d, handle_stv0900 = %p\n", + __func__, err_stv0900, state->internal); break; default: goto error; |