Skip to content

Commit

Permalink
MythMusic rand() -> random()
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Aug 23, 2011
1 parent c0d4915 commit 7f079d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mythmusic/mythmusic/decoderhandler.cpp
Expand Up @@ -328,7 +328,7 @@ bool DecoderHandler::next(void)

if (m_meta && m_meta->Format() == "cast")
{
m_playlist_pos = rand () % m_playlist.size ();
m_playlist_pos = random() % m_playlist.size();
}
else
{
Expand Down

0 comments on commit 7f079d6

Please sign in to comment.