diff options
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/librtsp/rtsp.c | 4 | ||||
-rw-r--r-- | src/input/mms.c | 4 | ||||
-rw-r--r-- | src/input/pnm.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/input/librtsp/rtsp.c b/src/input/librtsp/rtsp.c index c8706a187..f12190260 100644 --- a/src/input/librtsp/rtsp.c +++ b/src/input/librtsp/rtsp.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: rtsp.c,v 1.4 2002/12/17 10:33:35 holstsn Exp $ + * $Id: rtsp.c,v 1.5 2002/12/22 00:35:05 komadori Exp $ * * a minimalistic implementation of rtsp protocol, * *not* RFC 2326 compilant yet. @@ -188,7 +188,7 @@ static ssize_t read_stream(int fd, void *buf, size_t count) { return -1; } - ret=read (fd, buf+total, count-total); + ret=read (fd, ((uint8_t*)buf)+total, count-total); if (ret<=0) { printf ("rtsp: read error.\n"); diff --git a/src/input/mms.c b/src/input/mms.c index 2efc62a01..5a9a341ca 100644 --- a/src/input/mms.c +++ b/src/input/mms.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: mms.c,v 1.16 2002/12/12 23:48:03 tmattern Exp $ + * $Id: mms.c,v 1.17 2002/12/22 00:35:04 komadori Exp $ * * based on work from major mms * utility functions to handle communication with an mms server @@ -125,7 +125,7 @@ static ssize_t read_timeout(int fd, void *buf, size_t count) { return -1; } - ret=read (fd, buf+total, count-total); + ret=read (fd, ((uint8_t*)buf)+total, count-total); if (ret<=0) { printf ("mms: read error.\n"); diff --git a/src/input/pnm.c b/src/input/pnm.c index d24008a4f..0a4339f85 100644 --- a/src/input/pnm.c +++ b/src/input/pnm.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: pnm.c,v 1.5 2002/12/16 23:29:59 miguelfreitas Exp $ + * $Id: pnm.c,v 1.6 2002/12/22 00:35:04 komadori Exp $ * * pnm protocol implementation * based upon code from joschka @@ -275,7 +275,7 @@ static ssize_t rm_read(int fd, void *buf, size_t count) { return -1; } - ret=read (fd, buf+total, count-total); + ret=read (fd, ((uint8_t*)buf)+total, count-total); if (ret<=0) { printf ("input_pnm: read error.\n"); |