diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2005-11-28 12:24:56 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2005-11-28 12:24:56 +0000 |
commit | 29889061262a94aeb8871b185b29a1699f55af63 (patch) | |
tree | 5ce0740455e3e6051dbf726abb090165f8abfcec /src/input/input_dvb.c | |
parent | e9ad6a71dbf9f5f0b1e249ad7969afa1fd8665ba (diff) | |
download | xine-lib-29889061262a94aeb8871b185b29a1699f55af63.tar.gz xine-lib-29889061262a94aeb8871b185b29a1699f55af63.tar.bz2 |
*BUGFIX*
Improved cross-compiling: detect and precedence of the host-specific libs
W32dll: enabled by platforms as originaly, user can override it
Fixed shell errors in the Makefile of the hackersguide
Detect the place of SDL header independently on platform
Fixed spelling in CDDA, include the header sys/param.h if available
Fixed format strings (fix warnings (or even bugs) on Gentoo/FreeBSD)
CVS patchset: 7815
CVS date: 2005/11/28 12:24:56
Diffstat (limited to 'src/input/input_dvb.c')
-rw-r--r-- | src/input/input_dvb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index 3b4fe73b3..842f96a49 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -1013,11 +1013,11 @@ static int tuner_tune_it (tuner_t *this, struct dvb_frontend_parameters strength=0; if(ioctl(this->fd_frontend,FE_READ_SIGNAL_STRENGTH,&strength) >= 0) - xprintf(this->xine,XINE_VERBOSITY_LOG,"input_dvb: Signal strength: %i\n",strength); + xprintf(this->xine,XINE_VERBOSITY_LOG,"input_dvb: Signal strength: %u\n",strength); strength=0; if(ioctl(this->fd_frontend,FE_READ_SNR,&strength) >= 0) - xprintf(this->xine,XINE_VERBOSITY_LOG,"input_dvb: Signal/Noise Ratio: %i\n",strength); + xprintf(this->xine,XINE_VERBOSITY_LOG,"input_dvb: Signal/Noise Ratio: %u\n",strength); if (status & FE_HAS_LOCK && !(status & FE_TIMEDOUT)) { xprintf(this->xine,XINE_VERBOSITY_LOG,"input_dvb: Lock achieved at %lu Hz\n",(unsigned long)front_param->frequency); @@ -2406,7 +2406,7 @@ static off_t dvb_plugin_read (input_plugin_t *this_gen, return 0; dvb_event_handler (this); xprintf(this->class->xine,XINE_VERBOSITY_DEBUG, - "input_dvb: reading %lld bytes...\n", len); + "input_dvb: reading %" PRIdMAX " bytes...\n", (intmax_t)len); #ifndef DVB_NO_BUFFERING nbc_check_buffers (this->nbc); @@ -2459,8 +2459,8 @@ static off_t dvb_plugin_read (input_plugin_t *this_gen, } xprintf(this->class->xine,XINE_VERBOSITY_DEBUG, - "input_dvb: got %lld bytes (%lld/%lld bytes read)\n", - n, total,len); + "input_dvb: got %" PRIdMAX " bytes (%" PRIdMAX "/%" PRIdMAX " bytes read)\n", + (intmax_t)n, (intmax_t)total, (intmax_t)len); if (n > 0){ this->curpos += n; @@ -2517,7 +2517,7 @@ static off_t dvb_plugin_seek (input_plugin_t *this_gen, off_t offset, dvb_input_plugin_t *this = (dvb_input_plugin_t *) this_gen; - xprintf(this->class->xine,XINE_VERBOSITY_DEBUG,"seek %lld bytes, origin %d\n", offset, origin); + xprintf(this->class->xine,XINE_VERBOSITY_DEBUG,"seek %" PRIdMAX " bytes, origin %d\n", (intmax_t)offset, origin); /* only relative forward-seeking is implemented */ |