Julius Pfrommer 10 anni fa
parent
commit
62e9c968e6
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      src/server/ua_services_view.c

+ 2 - 2
src/server/ua_services_view.c

@@ -89,8 +89,8 @@ static UA_Boolean isRelevantTargetNode(UA_NodeStore *ns, const UA_BrowseDescript
 
 /* We do not search across namespaces so far. The id of the root-referencetype
    is returned in the array also. */
-static UA_Int32 findRelevantReferenceTypes(UA_NodeStore *ns, const UA_NodeId *rootReferenceType,
-                                           UA_NodeId **referenceTypes, UA_UInt32 *referenceTypesSize) {
+static UA_StatusCode findRelevantReferenceTypes(UA_NodeStore *ns, const UA_NodeId *rootReferenceType,
+                                                UA_NodeId **referenceTypes, UA_UInt32 *referenceTypesSize) {
     /* The references form a tree. We walk the tree by adding new nodes to the end of the array. */
     UA_UInt32 currentIndex = 0;
     UA_UInt32 currentLastIndex = 0;