mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
xmlinterface use const char instand char
This commit is contained in:
@@ -1133,9 +1133,9 @@ void CAudioPlayerGui::scanXmlData(xmlDocPtr answer_parser, const char *nametag,
|
||||
neutrino_msg_data_t data;
|
||||
g_RCInput->getMsg(&msg, &data, 0);
|
||||
while (element && msg != CRCInput::RC_home) {
|
||||
char *ptr = NULL;
|
||||
char *name = NULL;
|
||||
char *url = NULL;
|
||||
const char *ptr = NULL;
|
||||
const char *name = NULL;
|
||||
const char *url = NULL;
|
||||
time_t bitrate = 0;
|
||||
bool skip = true;
|
||||
listPos++;
|
||||
@@ -1148,7 +1148,7 @@ void CAudioPlayerGui::scanXmlData(xmlDocPtr answer_parser, const char *nametag,
|
||||
#endif // LCD_UPDATE
|
||||
|
||||
if (usechild) {
|
||||
char *type = NULL;
|
||||
const char *type = NULL;
|
||||
xmlNodePtr child = element->xmlChildrenNode;
|
||||
while (child) {
|
||||
if (strcmp(xmlGetName(child), nametag) == 0)
|
||||
|
Reference in New Issue
Block a user