13
0

Fix MacOS builds (API change in 705ac7bfc5)

This commit is contained in:
Robin Gareus 2020-04-24 07:06:40 +02:00
parent 5c127f35b1
commit ea8d1d09d4
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -2039,7 +2039,7 @@ AUPlugin::add_state (XMLNode* root) const
XMLTree t;
if (t.read_buffer (string ((const char*) CFDataGetBytePtr (xmlData), CFDataGetLength (xmlData)))) {
if (t.read_buffer (string ((const char*) CFDataGetBytePtr (xmlData), CFDataGetLength (xmlData)).c_str())) {
if (t.root()) {
root->add_child_copy (*t.root());
}