mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
fix up libxmltree interfaces, so that useless casts can be removed
Lots of places hat casts from (const char*) to (char *) to silence
a "deprecated conversion" warning. Instead of casting (which is
inherently wrong), fix up the libxmltree interfaces.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@117 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 8070a9613d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2009-12-22 (Tue, 22 Dec 2009)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -187,7 +187,7 @@ XMLTreeNode::~XMLTreeNode()
|
||||
next=0;
|
||||
}
|
||||
|
||||
XMLAttribute *XMLTreeNode::GetAttribute(char *name) const
|
||||
XMLAttribute *XMLTreeNode::GetAttribute(const char *name) const
|
||||
{
|
||||
XMLAttribute *a;
|
||||
|
||||
@@ -213,7 +213,7 @@ XMLAttribute *XMLTreeNode::GetAttribute(char *name) const
|
||||
return 0;
|
||||
}
|
||||
|
||||
char *XMLTreeNode::GetAttributeValue(char *name) const
|
||||
char *XMLTreeNode::GetAttributeValue(const char *name) const
|
||||
{
|
||||
XMLAttribute *a;
|
||||
|
||||
|
Reference in New Issue
Block a user