Changes to fix compilation on some setups

ryzom/ui/improvements
Sit Melai 4 years ago
parent f96f0b41b9
commit 02732c1241

@ -546,8 +546,10 @@ void CPeopleList::readContactGroups()
uint nb = 0; uint nb = 0;
while (node) while (node)
{ {
CXMLAutoPtr propName = xmlGetProp(node, (xmlChar*)"name"); CXMLAutoPtr propName;
CXMLAutoPtr propGroup = xmlGetProp(node, (xmlChar*)"group"); propName = (char*) xmlGetProp(node, (xmlChar*)"name");
CXMLAutoPtr propGroup;
propGroup = (char*) xmlGetProp(node, (xmlChar*)"group");
if (propName && propGroup) if (propName && propGroup)
{ {
sint index = getIndexFromName(propName.str()); sint index = getIndexFromName(propName.str());

Loading…
Cancel
Save