summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/source/unoembindhelpers/PrimaryBindings.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/source/unoembindhelpers/PrimaryBindings.cxx b/static/source/unoembindhelpers/PrimaryBindings.cxx
index 93ae89531a00..51048dc3edf4 100644
--- a/static/source/unoembindhelpers/PrimaryBindings.cxx
+++ b/static/source/unoembindhelpers/PrimaryBindings.cxx
@@ -306,7 +306,7 @@ EMSCRIPTEN_BINDINGS(PrimaryBindings)
return emscripten::val(*o3tl::forceAccess<css::uno::Type>(self));
case css::uno::TypeClass_SEQUENCE:
{
- emscripten::internal::WireTypePack argv(self.getValue());
+ emscripten::internal::WireTypePack argv(const_cast<void*>(self.getValue()));
return emscripten::val::take_ownership(
_emval_take_value(getTypeId(self.getValueType()), argv));
}