|
@@ -943,7 +943,7 @@ ExtensionObject_decodeBinaryContent(UA_ExtensionObject *dst, const UA_NodeId *ty
|
|
/* Unknown type, just take the binary content */
|
|
/* Unknown type, just take the binary content */
|
|
if(!type) {
|
|
if(!type) {
|
|
dst->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
|
|
dst->encoding = UA_EXTENSIONOBJECT_ENCODED_BYTESTRING;
|
|
- dst->content.encoded.typeId = *typeId;
|
|
|
|
|
|
+ UA_NodeId_copy(typeId, &dst->content.encoded.typeId);
|
|
return ByteString_decodeBinary(&dst->content.encoded.body);
|
|
return ByteString_decodeBinary(&dst->content.encoded.body);
|
|
}
|
|
}
|
|
|
|
|