mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
applied c standard to memory allocation so this will compile with win32 simulator as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@355 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
488bf3ed54
commit
0f3001a1d6
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ void randomise_playlist( playlist_info_t *playlist ) {
|
|||
int candidate;
|
||||
int adjusted_candidate;
|
||||
int found_next_number;
|
||||
int index_list[ playlist->indices_count ];
|
||||
int *index_list = (int*) malloc(sizeof(int) * playlist->indices_count);
|
||||
int *randomised_list;
|
||||
int i;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue