movieplayer: fix invalid type

This commit is contained in:
Stefan Seyfried
2013-09-30 20:48:00 +02:00
parent 64ff2ed5b4
commit 7cdf335b4e

View File

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