diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/v4/moth/qv4vme_moth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/v4/moth/qv4vme_moth.cpp b/src/v4/moth/qv4vme_moth.cpp index 49d3cbac74..9f60a8eb26 100644 --- a/src/v4/moth/qv4vme_moth.cpp +++ b/src/v4/moth/qv4vme_moth.cpp @@ -185,7 +185,7 @@ static inline VM::Value *getValueRef(QQmlJS::VM::ExecutionContext *context, // The non-temp case might need some tweaking for QML: there it would probably be a value instead of a local. # define VALUEPTR(param) \ param.isTemp() ? stack + param.index \ - : (param.isLocal() ? context->locals + param.index \ + : (param.isLocal() ? static_cast<VM::CallContext *>(context)->locals + param.index \ : getValueRef(context, stack, param)) #else # define VALUE(param) *getValueRef(context, stack, param, stackSize) |