diff options
author | Ralph Giles <giles@xiph.org> | 2006-01-09 01:45:05 +0000 |
---|---|---|
committer | Ralph Giles <giles@xiph.org> | 2006-01-09 01:45:05 +0000 |
commit | 521f4d211d5435e623992b09bbd1d8e21e7af3c2 (patch) | |
tree | 741b7f1734502fd7d8e02d26db77fd164148f00f /vorbisfile.c | |
parent | 11396c027a7f457ae4e68f01b4962988f128c46b (diff) | |
download | tremor-521f4d211d5435e623992b09bbd1d8e21e7af3c2.tar.gz |
Fix a number of warnings, issue #622.
git-svn-id: https://svn.xiph.org/trunk/Tremor@10707 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'vorbisfile.c')
-rw-r--r-- | vorbisfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vorbisfile.c b/vorbisfile.c index 0487881..0da4e0c 100644 --- a/vorbisfile.c +++ b/vorbisfile.c @@ -61,7 +61,7 @@ static long _get_data(OggVorbis_File *vf){ errno=0; if(vf->datasource){ - char *buffer=ogg_sync_bufferin(vf->oy,CHUNKSIZE); + unsigned char *buffer=ogg_sync_bufferin(vf->oy,CHUNKSIZE); long bytes=(vf->callbacks.read_func)(buffer,1,CHUNKSIZE,vf->datasource); if(bytes>0)ogg_sync_wrote(vf->oy,bytes); if(bytes==0 && errno)return(-1); @@ -678,7 +678,7 @@ static int _ov_open1(void *f,OggVorbis_File *vf,char *initial, previously read data (as we may be reading from a non-seekable stream) */ if(initial){ - char *buffer=ogg_sync_bufferin(vf->oy,ibytes); + unsigned char *buffer=ogg_sync_bufferin(vf->oy,ibytes); memcpy(buffer,initial,ibytes); ogg_sync_wrote(vf->oy,ibytes); } |