mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
xmlinterface use const char instand char
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8227a01592
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-03-20 (Fri, 20 Mar 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
|
||||
unsigned long xmlGetNumericAttribute(const xmlNodePtr node, const char *name, const int base)
|
||||
{
|
||||
char *ptr = xmlGetAttribute(node, name);
|
||||
const char *ptr = xmlGetAttribute(node, name);
|
||||
|
||||
if (!ptr)
|
||||
return 0;
|
||||
@@ -57,7 +57,7 @@ unsigned long xmlGetNumericAttribute(const xmlNodePtr node, const char *name, co
|
||||
|
||||
long xmlGetSignedNumericAttribute(const xmlNodePtr node, const char *name, const int base)
|
||||
{
|
||||
char *ptr = xmlGetAttribute(node, name);
|
||||
const char *ptr = xmlGetAttribute(node, name);
|
||||
|
||||
if (!ptr)
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user