uint32_t priv;
if (!GetValue(attr, priv, attrName))
return false;
-value = priv;
+value = PRIV(priv);
return true;
}
{
parsingAnswer = true;
for (const char ** pos = attr; *pos != NULL; pos = pos + 2)
- if (!TryParse(propertyParsers, ToLower(*pos), pos, *pos))
+ if (!TryParse(propertyParsers, ToLower(*pos), pos, encoding, *pos))
{
error = std::string("Invalid parameter '") + *pos + "'.";
break;