summaryrefslogtreecommitdiff
path: root/tests/Test_tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Test_tree.c')
-rw-r--r--tests/Test_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Test_tree.c b/tests/Test_tree.c
index 0b6a7df..c8a631a 100644
--- a/tests/Test_tree.c
+++ b/tests/Test_tree.c
@@ -790,7 +790,7 @@ main (int argc, char *argv[])
printf (" Error expected: %s - %d - ",
asn1_strerror (test->errorNumber), test->par3);
for (k = 0; k < test->par3; k++)
- printf ("%02x", test->par2[k]);
+ printf ("%02x", (unsigned int)test->par2[k]);
printf ("\n Error detected: %s - %d - ",
asn1_strerror (result), valueLen);
for (k = 0; k < valueLen; k++)