mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Fix 64bit warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9375 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cfc97a1e6f
commit
e523041468
1 changed files with 2 additions and 2 deletions
|
|
@ -862,7 +862,7 @@ static int randomise_playlist(struct playlist_info* playlist,
|
|||
{
|
||||
int count;
|
||||
int candidate;
|
||||
int store;
|
||||
long store;
|
||||
unsigned int current = playlist->indices[playlist->index];
|
||||
|
||||
/* seed 0 is used to identify sorted playlist for resume purposes */
|
||||
|
|
@ -885,7 +885,7 @@ static int randomise_playlist(struct playlist_info* playlist,
|
|||
#ifdef HAVE_DIRCACHE
|
||||
if (playlist->filenames)
|
||||
{
|
||||
store = (int)playlist->filenames[candidate];
|
||||
store = (long)playlist->filenames[candidate];
|
||||
playlist->filenames[candidate] = playlist->filenames[count];
|
||||
playlist->filenames[count] = (struct dircache_entry *)store;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue