Browse Source

type in check_stack

Leon Urbas 11 years ago
parent
commit
c7ac2d5e4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/check_stack.c

+ 1 - 1
tests/check_stack.c

@@ -73,7 +73,7 @@ START_TEST(encode_builtInDatatypeArray_test_String)
 			0xFF, 0xFF, 0xFF, 0xFF		// s2.Length
 	};
 
-	UA_Array_encode((void const**)array, noElements, UA_ByteString, &pos, buf);
+	UA_Array_encode((void const**)array, noElements, UA_BYTESTRING, &pos, buf);
 
 	// check size
 	ck_assert_int_eq(pos, 4 + 4 + 6 + 4);