moviebrowser/player: remove unneeded (char *) casts

Origin commit data
------------------
Branch: ni/coolstream
Commit: b90991da77
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-10 (Tue, 10 Feb 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2015-02-10 14:55:45 +01:00
committed by Jacek Jendrzej
parent 8df72acd9c
commit 4e54d5c781
2 changed files with 2 additions and 2 deletions

View File

@@ -603,7 +603,7 @@ bool CMoviePlayerGui::PlayBackgroundStart(const std::string &file, const std::st
int agen[] = { 18, 16, 12, 6, 0 };
for (int i = 0; ages[i] && age < 0; i++) {
const char *n = name.c_str();
char *h = (char *) n;
const char *h = n;
while ((age < 0) && (h = strstr(h, ages[i])))
if ((h == n) || !isdigit(*(h - 1)))
age = agen[i];