diff --git a/src/system/setting_helpers.cpp b/src/system/setting_helpers.cpp index 7955cc26f..39a2cca3e 100644 --- a/src/system/setting_helpers.cpp +++ b/src/system/setting_helpers.cpp @@ -607,13 +607,13 @@ printf("CSubtitleChangeExec::exec: action %s\n", actionKey.c_str()); return menu_return::RETURN_EXIT; } if(!strncmp(actionKey.c_str(), "DVB", 3)) { - char * pidptr = strchr(actionKey.c_str(), ':'); + const char *pidptr = strchr(actionKey.c_str(), ':'); int pid = atoi(pidptr+1); tuxtx_stop_subtitle(); dvbsub_pause(); dvbsub_start(pid); } else { - char * ptr = strchr(actionKey.c_str(), ':'); + const char *ptr = strchr(actionKey.c_str(), ':'); ptr++; int pid = atoi(ptr); ptr = strchr(ptr, ':');