diff --git a/src/gui/movieplayer.cpp b/src/gui/movieplayer.cpp index 44c00ccaf..7a56a8427 100644 --- a/src/gui/movieplayer.cpp +++ b/src/gui/movieplayer.cpp @@ -1412,7 +1412,7 @@ void CMoviePlayerGui::showSubtitle(neutrino_msg_data_t data) } //printf("title: [%s]\n", txt); std::string str(txt); - int start = 0, end = 0; + unsigned int start = 0, end = 0; /* split string with \N as newline */ std::string delim("\\N"); while ((end = str.find(delim, start)) != string::npos) {