diff options
author | Hans Verkuil <devnull@localhost> | 2005-12-14 22:33:16 +0000 |
---|---|---|
committer | Hans Verkuil <devnull@localhost> | 2005-12-14 22:33:16 +0000 |
commit | e6e78d4d0e7e8b822d09587eafc8c4b566ed7cae (patch) | |
tree | c8e532d640fc57d277969317a049fd0d0adcc8ae /linux/drivers/media/dvb/frontends | |
parent | a4db01916e0ed8ce17c255805505e8f6bf403673 (diff) | |
download | mediapointer-dvb-s2-e6e78d4d0e7e8b822d09587eafc8c4b566ed7cae.tar.gz mediapointer-dvb-s2-e6e78d4d0e7e8b822d09587eafc8c4b566ed7cae.tar.bz2 |
Fix 64-bit compile warnings
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r-- | linux/drivers/media/dvb/frontends/bcm3510.c | 4 | ||||
-rw-r--r-- | linux/drivers/media/dvb/frontends/or51211.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/bcm3510.c b/linux/drivers/media/dvb/frontends/bcm3510.c index 1395d91ea..0b550e120 100644 --- a/linux/drivers/media/dvb/frontends/bcm3510.c +++ b/linux/drivers/media/dvb/frontends/bcm3510.c @@ -623,13 +623,13 @@ static int bcm3510_download_firmware(struct dvb_frontend* fe) err("could not load firmware (%s): %d",BCM3510_DEFAULT_FIRMWARE,ret); return ret; } - deb_info("got firmware: %d\n",fw->size); + deb_info("got firmware: %zd\n",fw->size); b = fw->data; for (i = 0; i < fw->size;) { addr = le16_to_cpu( *( (u16 *)&b[i] ) ); len = le16_to_cpu( *( (u16 *)&b[i+2] ) ); - deb_info("firmware chunk, addr: 0x%04x, len: 0x%04x, total length: 0x%04x\n",addr,len,fw->size); + deb_info("firmware chunk, addr: 0x%04x, len: 0x%04x, total length: 0x%04zx\n",addr,len,fw->size); if ((ret = bcm3510_write_ram(st,addr,&b[i+4],len)) < 0) { err("firmware download failed: %d\n",ret); return ret; diff --git a/linux/drivers/media/dvb/frontends/or51211.c b/linux/drivers/media/dvb/frontends/or51211.c index 531f76246..8d631ca7a 100644 --- a/linux/drivers/media/dvb/frontends/or51211.c +++ b/linux/drivers/media/dvb/frontends/or51211.c @@ -112,7 +112,7 @@ static int or51211_load_firmware (struct dvb_frontend* fe, u8 tudata[585]; int i; - dprintk("Firmware is %d bytes\n",fw->size); + dprintk("Firmware is %zd bytes\n",fw->size); /* Get eprom data */ tudata[0] = 17; |