-fix compil warrnings

This commit is contained in:
Jacek Jendrzej
2013-06-02 13:18:03 +02:00
parent 0940f4a767
commit 1eb46dbfba

View File

@@ -1412,7 +1412,7 @@ void CMoviePlayerGui::showSubtitle(neutrino_msg_data_t data)
} }
//printf("title: [%s]\n", txt); //printf("title: [%s]\n", txt);
std::string str(txt); std::string str(txt);
int start = 0, end = 0; unsigned int start = 0, end = 0;
/* split string with \N as newline */ /* split string with \N as newline */
std::string delim("\\N"); std::string delim("\\N");
while ((end = str.find(delim, start)) != string::npos) { while ((end = str.find(delim, start)) != string::npos) {