summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-23 06:19:30 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-05-23 06:19:30 +0000
commit3071b2bde174616fe15f6852c11e8c9ed42d36a4 (patch)
tree689c5d856e45939ddd450a75f49d3b5ba48a798b /apps
parent94257e5e193f79dbe5a8636b765c20eb96869d24 (diff)
Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29917 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/sid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/codecs/sid.c b/apps/codecs/sid.c
index 291b9ca6f3..a9ca457fb3 100644
--- a/apps/codecs/sid.c
+++ b/apps/codecs/sid.c
@@ -1220,7 +1220,7 @@ enum codec_status codec_main(enum codec_entry_call_reason reason)
/* this is called for each file to process */
enum codec_status codec_run(void)
{
- unsigned int filesize;
+ size_t filesize;
unsigned short load_addr, init_addr, play_addr;
unsigned char subSongsMax, subSong, song_speed;
unsigned char *sidfile = NULL;
@@ -1243,7 +1243,7 @@ enum codec_status codec_run(void)
c64Init(44100);
LoadSIDFromMemory(sidfile, &load_addr, &init_addr, &play_addr,
- &subSongsMax, &subSong, &song_speed, filesize);
+ &subSongsMax, &subSong, &song_speed, (unsigned short)filesize);
sidPoke(24, 15); /* Turn on full volume */
cpuJSR(init_addr, subSong); /* Start the song initialize */
@@ -1264,7 +1264,7 @@ enum codec_status codec_run(void)
/* Start playing from scratch */
c64Init(44100);
LoadSIDFromMemory(sidfile, &load_addr, &init_addr, &play_addr,
- &subSongsMax, &subSong, &song_speed, filesize);
+ &subSongsMax, &subSong, &song_speed, (unsigned short)filesize);
sidPoke(24, 15); /* Turn on full volume */
subSong = param / 1000; /* Now use the current seek time in seconds as subsong */
cpuJSR(init_addr, subSong); /* Start the song initialize */