Browse Source

Array dimension is UINT32

Stefan Profanter 7 years ago
parent
commit
09179c80b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/client/ua_client_highlevel.c

+ 1 - 1
src/client/ua_client_highlevel.c

@@ -416,7 +416,7 @@ processReadArrayDimensionsResult(UA_ReadResponse *response,
     UA_DataValue *res = &response->results[0];
     if(!res->hasValue ||
        UA_Variant_isScalar(&res->value) ||
-       res->value.type != &UA_TYPES[UA_TYPES_INT32])
+       res->value.type != &UA_TYPES[UA_TYPES_UINT32])
         return UA_STATUSCODE_BADUNEXPECTEDERROR;
 
     /* Move results */