summaryrefslogtreecommitdiff
path: root/src/input/mms.c
diff options
context:
space:
mode:
authorRobin KAY <komadori@users.sourceforge.net>2002-12-22 00:35:04 +0000
committerRobin KAY <komadori@users.sourceforge.net>2002-12-22 00:35:04 +0000
commit614e17928e8f7b1bdc632fd934499cbfea165d8a (patch)
tree26887fbf9f785a69ec603c703ecda4650bbec829 /src/input/mms.c
parent1b71075127f7fdfad0c16cc8535cd2c2b4e01c3b (diff)
downloadxine-lib-614e17928e8f7b1bdc632fd934499cbfea165d8a.tar.gz
xine-lib-614e17928e8f7b1bdc632fd934499cbfea165d8a.tar.bz2
Make xine-lib compile with the SunPro compiler
CVS patchset: 3623 CVS date: 2002/12/22 00:35:04
Diffstat (limited to 'src/input/mms.c')
-rw-r--r--src/input/mms.c4
1 files changed, 2 insertions, 2 deletions
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");