xmlinterface use const char instand char

This commit is contained in:
Jacek Jendrzej
2015-03-20 12:05:22 +01:00
parent 40fe7fae34
commit 8227a01592
9 changed files with 50 additions and 50 deletions

View File

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