From f3621c3db4ce961267cbf0c8c3b0f7688146befc Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Sun, 2 Jun 2013 13:18:03 +0200 Subject: [PATCH] fix compil warrnings Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/1eb46dbfba8be0dd8dd7103b9b8d2178a16b8853 Author: Jacek Jendrzej Date: 2013-06-02 (Sun, 02 Jun 2013) Origin message was: ------------------ -fix compil warrnings --- src/gui/movieplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {