diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-03-30 21:43:24 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-03-30 21:43:24 +0000 |
commit | e5230414683ef5f886e1b0e7a5405d7ec02c3606 (patch) | |
tree | 8298a024945461eb89a4e20b367a9a085b2601d5 /apps | |
parent | cfc97a1e6f0d4599c78782b0543375244042c830 (diff) | |
download | rockbox-e5230414683ef5f886e1b0e7a5405d7ec02c3606.tar.gz rockbox-e5230414683ef5f886e1b0e7a5405d7ec02c3606.zip |
Fix 64bit warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9375 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index d3b96c8ef4..12c4c3598f 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -862,7 +862,7 @@ static int randomise_playlist(struct playlist_info* playlist, | |||
862 | { | 862 | { |
863 | int count; | 863 | int count; |
864 | int candidate; | 864 | int candidate; |
865 | int store; | 865 | long store; |
866 | unsigned int current = playlist->indices[playlist->index]; | 866 | unsigned int current = playlist->indices[playlist->index]; |
867 | 867 | ||
868 | /* seed 0 is used to identify sorted playlist for resume purposes */ | 868 | /* seed 0 is used to identify sorted playlist for resume purposes */ |
@@ -885,7 +885,7 @@ static int randomise_playlist(struct playlist_info* playlist, | |||
885 | #ifdef HAVE_DIRCACHE | 885 | #ifdef HAVE_DIRCACHE |
886 | if (playlist->filenames) | 886 | if (playlist->filenames) |
887 | { | 887 | { |
888 | store = (int)playlist->filenames[candidate]; | 888 | store = (long)playlist->filenames[candidate]; |
889 | playlist->filenames[candidate] = playlist->filenames[count]; | 889 | playlist->filenames[candidate] = playlist->filenames[count]; |
890 | playlist->filenames[count] = (struct dircache_entry *)store; | 890 | playlist->filenames[count] = (struct dircache_entry *)store; |
891 | } | 891 | } |