aboutsummaryrefslogtreecommitdiffstats
path: root/source/Core/ValueObjectCast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Core/ValueObjectCast.cpp')
-rw-r--r--source/Core/ValueObjectCast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Core/ValueObjectCast.cpp b/source/Core/ValueObjectCast.cpp
index 6ccda8c32915..3a74b6a7fe18 100644
--- a/source/Core/ValueObjectCast.cpp
+++ b/source/Core/ValueObjectCast.cpp
@@ -79,7 +79,7 @@ bool ValueObjectCast::UpdateValue() {
m_value.GetScalar() != old_value.GetScalar());
}
ExecutionContext exe_ctx(GetExecutionContextRef());
- m_error = m_value.GetValueAsData(&exe_ctx, m_data, 0, GetModule().get());
+ m_error = m_value.GetValueAsData(&exe_ctx, m_data, GetModule().get());
SetValueDidChange(m_parent->GetValueDidChange());
return true;
}