summaryrefslogtreecommitdiff
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
parent94257e5e193f79dbe5a8636b765c20eb96869d24 (diff)
downloadrockbox-3071b2bde174616fe15f6852c11e8c9ed42d36a4.tar.gz
rockbox-3071b2bde174616fe15f6852c11e8c9ed42d36a4.zip
Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29917 a1c6a512-1295-4272-9138-f99709370657
-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)
1220/* this is called for each file to process */ 1220/* this is called for each file to process */
1221enum codec_status codec_run(void) 1221enum codec_status codec_run(void)
1222{ 1222{
1223 unsigned int filesize; 1223 size_t filesize;
1224 unsigned short load_addr, init_addr, play_addr; 1224 unsigned short load_addr, init_addr, play_addr;
1225 unsigned char subSongsMax, subSong, song_speed; 1225 unsigned char subSongsMax, subSong, song_speed;
1226 unsigned char *sidfile = NULL; 1226 unsigned char *sidfile = NULL;
@@ -1243,7 +1243,7 @@ enum codec_status codec_run(void)
1243 1243
1244 c64Init(44100); 1244 c64Init(44100);
1245 LoadSIDFromMemory(sidfile, &load_addr, &init_addr, &play_addr, 1245 LoadSIDFromMemory(sidfile, &load_addr, &init_addr, &play_addr,
1246 &subSongsMax, &subSong, &song_speed, filesize); 1246 &subSongsMax, &subSong, &song_speed, (unsigned short)filesize);
1247 sidPoke(24, 15); /* Turn on full volume */ 1247 sidPoke(24, 15); /* Turn on full volume */
1248 cpuJSR(init_addr, subSong); /* Start the song initialize */ 1248 cpuJSR(init_addr, subSong); /* Start the song initialize */
1249 1249
@@ -1264,7 +1264,7 @@ enum codec_status codec_run(void)
1264 /* Start playing from scratch */ 1264 /* Start playing from scratch */
1265 c64Init(44100); 1265 c64Init(44100);
1266 LoadSIDFromMemory(sidfile, &load_addr, &init_addr, &play_addr, 1266 LoadSIDFromMemory(sidfile, &load_addr, &init_addr, &play_addr,
1267 &subSongsMax, &subSong, &song_speed, filesize); 1267 &subSongsMax, &subSong, &song_speed, (unsigned short)filesize);
1268 sidPoke(24, 15); /* Turn on full volume */ 1268 sidPoke(24, 15); /* Turn on full volume */
1269 subSong = param / 1000; /* Now use the current seek time in seconds as subsong */ 1269 subSong = param / 1000; /* Now use the current seek time in seconds as subsong */
1270 cpuJSR(init_addr, subSong); /* Start the song initialize */ 1270 cpuJSR(init_addr, subSong); /* Start the song initialize */