diff --git a/src/Module.cpp b/src/Module.cpp index 8a7c0e01..4270fdb6 100644 --- a/src/Module.cpp +++ b/src/Module.cpp @@ -63,7 +63,7 @@ removeDuplicates(sl::List* list) { void removeSubPages(sl::Array* pageArray) { - Compound** p = *pageArray; + Compound** p = pageArray->p(); size_t count = pageArray->getCount(); size_t i = 0;