summaryrefslogtreecommitdiff
path: root/tests/test_helper.cpp
diff options
context:
space:
mode:
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);