diff options
Diffstat (limited to 'media_player.c')
-rw-r--r-- | media_player.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/media_player.c b/media_player.c index ebaced6d..ca0bc653 100644 --- a/media_player.c +++ b/media_player.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: media_player.c,v 1.52 2008-05-07 13:27:15 phintuka Exp $ + * $Id: media_player.c,v 1.53 2008-05-18 20:24:51 phintuka Exp $ * */ @@ -90,7 +90,7 @@ cXinelibPlayer::cXinelibPlayer(const char *File, bool Queue, const char *SubFile m_Speed = 1; if(File) { - int len = strlen(File); + size_t len = strlen(File); if(len && File[len-1] == '/') { // whole directory, create temporary playlist m_Playlist.Read(File, true); @@ -487,7 +487,7 @@ void cXinelibPlayerControl::Queue(const char *File) OpenPlayer(File, true); cControl::Launch(new cXinelibPlayerControl(ShowMusic, NULL)); } else { - int len = strlen(File); + size_t len = strlen(File); if(len && File[len-1] == '/') m_Player->Playlist().Read(File, true); else |