summaryrefslogtreecommitdiff
path: root/src/input/input_net.c
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2005-11-28 12:24:56 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2005-11-28 12:24:56 +0000
commit29889061262a94aeb8871b185b29a1699f55af63 (patch)
tree5ce0740455e3e6051dbf726abb090165f8abfcec /src/input/input_net.c
parente9ad6a71dbf9f5f0b1e249ad7969afa1fd8665ba (diff)
downloadxine-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_net.c')
-rw-r--r--src/input/input_net.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/input_net.c b/src/input/input_net.c
index 6dd9c8be4..1dd75efc1 100644
--- a/src/input/input_net.c
+++ b/src/input/input_net.c
@@ -20,7 +20,7 @@
* Read from a tcp network stream over a lan (put a tweaked mp1e encoder the
* other end and you can watch tv anywhere in the house ..)
*
- * $Id: input_net.c,v 1.64 2005/10/14 21:02:16 miguelfreitas Exp $
+ * $Id: input_net.c,v 1.65 2005/11/28 12:24:57 valtri Exp $
*
* how to set up mp1e for use with this plugin:
*
@@ -253,7 +253,7 @@ static off_t net_plugin_read (input_plugin_t *this_gen,
net_input_plugin_t *this = (net_input_plugin_t *) this_gen;
off_t n, total;
- lprintf("reading %d bytes...\n", len);
+ lprintf("reading %" PRIdMAX " bytes...\n", (intmax_t)len);
total=0;
if (this->curpos < this->preview_size) {
@@ -261,7 +261,7 @@ static off_t net_plugin_read (input_plugin_t *this_gen,
if (n > (len - total))
n = len - total;
- lprintf("%lld bytes from preview (which has %lld bytes)\n", n, this->preview_size);
+ lprintf("%" PRIdMAX " bytes from preview (which has %" PRIdMAX " bytes)\n", (intmax_t)n, (intmax_t)this->preview_size);
memcpy (&buf[total], &this->preview[this->curpos], n);
this->curpos += n;