From 4b421cd7d7bcf546fe6b3ab9e9b84ecdb148b81d Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Thu, 18 Apr 2024 12:46:19 -0600 Subject: [PATCH] tests: adjust to new CFL API changes Signed-off-by: Eduardo Silva --- tests/decoding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/decoding.c b/tests/decoding.c index 81076d0..e798f15 100644 --- a/tests/decoding.c +++ b/tests/decoding.c @@ -81,7 +81,7 @@ static int generate_dummy_array_attribute_set(struct cfl_array **out_array, size } cfl_array_append_string(array, "string value"); - cfl_array_append_bytes(array, "\xFF\xEE\xFF\xEE\xCA\xFE", 6); + cfl_array_append_bytes(array, "\xFF\xEE\xFF\xEE\xCA\xFE", 6, CFL_FALSE); cfl_array_append_bool(array, CTR_TRUE); cfl_array_append_int64(array, 303456); cfl_array_append_double(array, 1.23456); @@ -164,7 +164,7 @@ static int generate_dummy_kvlist_attribute_set(struct cfl_kvlist **out_kvlist, s return -3; } - result = cfl_kvlist_insert_bytes(kvlist, "bytes value", "\xFE\xEE\xFF\xEE\xCA\xFE", 6); + result = cfl_kvlist_insert_bytes(kvlist, "bytes value", "\xFE\xEE\xFF\xEE\xCA\xFE", 6, CFL_FALSE); if (result != 0) { return -3;