xmlinterface use const char instand char

Origin commit data
------------------
Commit: 8227a01592
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)
This commit is contained in:
Jacek Jendrzej
2015-03-20 12:05:22 +01:00
parent c5bd495ac6
commit 3f53a4b636
9 changed files with 50 additions and 50 deletions

View File

@@ -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)