summaryrefslogtreecommitdiff
path: root/tests/test_helper.cpp
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@mailbox.org>2026-01-09 15:28:38 +0100
committerAldrik Ramaekers <aldrik@mailbox.org>2026-01-09 15:28:38 +0100
commit210404a73706993d197c1290d5a411394e176fbe (patch)
tree93c3ea9fc4691ca42f26dd92c6e14627af0b47af /tests/test_helper.cpp
parenta65e876f3277a7d7fca6e5129ac3e200dae2d0dc (diff)
remove unused lib files
Diffstat (limited to 'tests/test_helper.cpp')
-rw-r--r--tests/test_helper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_helper.cpp b/tests/test_helper.cpp
index 7b1bf96..11c7d21 100644
--- a/tests/test_helper.cpp
+++ b/tests/test_helper.cpp
@@ -187,7 +187,7 @@ static bool _test_peppol_file(char* id)
struct xml_node* root = xml_document_root(document);
size_t num_children = xml_node_children(root);
- for (int i = 0; i < num_children; i++)
+ for (size_t i = 0; i < num_children; i++)
{
struct xml_node* node = xml_node_child(root, i);
@@ -198,7 +198,7 @@ static bool _test_peppol_file(char* id)
char* content = (char*)xml_easy_content(text_node);
size_t num_attributes = xml_node_attributes(node);
- for (int x = 0; x < num_attributes; x++)
+ for (size_t x = 0; x < num_attributes; x++)
{
struct xml_string* attr_name = xml_node_attribute_name(node, x);
size_t b_length = xml_string_length(attr_name);