summaryrefslogtreecommitdiff
path: root/apps/codecs/Tremor
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-12-02 08:42:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-12-02 08:42:48 +0000
commit76667e2a5ba9fb919ad6f9f3db95343b6c3dcc8c (patch)
tree156db9e5535bcefabcd09128b4e4bf526f997fae /apps/codecs/Tremor
parent5c1f9859e4ceffaf1e261e7dbfcc8ae9d7a254d0 (diff)
downloadrockbox-76667e2a5ba9fb919ad6f9f3db95343b6c3dcc8c.zip
rockbox-76667e2a5ba9fb919ad6f9f3db95343b6c3dcc8c.tar.gz
rockbox-76667e2a5ba9fb919ad6f9f3db95343b6c3dcc8c.tar.bz2
rockbox-76667e2a5ba9fb919ad6f9f3db95343b6c3dcc8c.tar.xz
fix gcc4 (un)signed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8124 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/Tremor')
-rw-r--r--apps/codecs/Tremor/vorbisfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/Tremor/vorbisfile.c b/apps/codecs/Tremor/vorbisfile.c
index 70c0cdb..50f827d 100644
--- a/apps/codecs/Tremor/vorbisfile.c
+++ b/apps/codecs/Tremor/vorbisfile.c
@@ -63,7 +63,7 @@
static long _get_data(OggVorbis_File *vf){
errno=0;
if(vf->datasource){
- char *buffer=ogg_sync_bufferin(vf->oy,CHUNKSIZE);
+ char *buffer=(char *)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);
@@ -682,7 +682,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);
+ char *buffer=(char *)ogg_sync_bufferin(vf->oy,ibytes);
memcpy(buffer,initial,ibytes);
ogg_sync_wrote(vf->oy,ibytes);
}