aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4sparsearray.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-09 11:07:21 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-11 13:02:19 +0200
commit6324e987e23b4fefc622f1fc6493baa1a3e47ee9 (patch)
treed06619a7feea6034b13c6ee4111d7ad65a064558 /src/qml/jsruntime/qv4sparsearray.cpp
parented4c36b0b86c3d452a96ceb8bb6b41d709543a45 (diff)
More work on converting calling conventions to fit the new GC scheme
Change-Id: I4283cc85ad599b62a8efbe9268680287cf74097e Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4sparsearray.cpp')
-rw-r--r--src/qml/jsruntime/qv4sparsearray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4sparsearray.cpp b/src/qml/jsruntime/qv4sparsearray.cpp
index 5b720d2fef..f21855ebc9 100644
--- a/src/qml/jsruntime/qv4sparsearray.cpp
+++ b/src/qml/jsruntime/qv4sparsearray.cpp
@@ -66,7 +66,7 @@ bool ArrayElementLessThan::operator()(const Property &p1, const Property &p2) co
callData->args[0] = p1.value;
callData->args[1] = p2.value;
Value result = Value::undefinedValue();
- __qmljs_call_value(m_context, &result, m_comparefn, callData.ptr);
+ __qmljs_call_value(m_context, &result, QV4::ValueRef::fromRawValue(&m_comparefn), callData);
return result.toNumber() <= 0;
}
return p1.value.toString(m_context)->toQString() < p2.value.toString(m_context)->toQString();