summaryrefslogtreecommitdiff
path: root/tests/Test_simple.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2012-08-18 10:06:39 +0200
committerSimon Josefsson <simon@josefsson.org>2012-08-18 10:06:39 +0200
commitc5226f57807bf53fd3aff5ce2f36d62f2e9b7553 (patch)
treebe4ac7068919742361c72e6f944cf5c0b326331e /tests/Test_simple.c
parentd04da8d99388e56603e7a65208577115e740e021 (diff)
downloadlibtasn1-c5226f57807bf53fd3aff5ce2f36d62f2e9b7553.tar.gz
Fix compilation warnings.
Diffstat (limited to 'tests/Test_simple.c')
-rw-r--r--tests/Test_simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Test_simple.c b/tests/Test_simple.c
index 9224036..7527184 100644
--- a/tests/Test_simple.c
+++ b/tests/Test_simple.c
@@ -117,7 +117,7 @@ main (int argc, char *argv[])
if (der_len != tv[i].derlen || memcmp (der, tv[i].der, der_len) != 0)
{
- fprintf (stderr, "asn1_bit_der iter %ld\n", i);
+ fprintf (stderr, "asn1_bit_der iter %lu\n", (unsigned long) i);
return 1;
}
@@ -128,7 +128,7 @@ main (int argc, char *argv[])
if (result != ASN1_SUCCESS || ret_len != tv[i].derlen
|| bit_len != tv[i].bitlen)
{
- fprintf (stderr, "asn1_get_bit_der iter %ld\n", i);
+ fprintf (stderr, "asn1_get_bit_der iter %lu\n", (unsigned long) i);
return 1;
}
}