summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-19 11:13:48 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-19 11:13:48 +0100
commit4c76b0138d674864461c3c2463192149e6d66eab (patch)
treea58ca7b9b21c4dc18d58ac3a9512d5a485081fc1
parent403b7f7b8538a54d41f33db52b6e574636157404 (diff)
downloadlibtasn1-4c76b0138d674864461c3c2463192149e6d66eab.tar.gz
tests: cast to avoid compiler warning
-rw-r--r--tests/ocsp-basic-response.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ocsp-basic-response.c b/tests/ocsp-basic-response.c
index 18ec394..3a190a8 100644
--- a/tests/ocsp-basic-response.c
+++ b/tests/ocsp-basic-response.c
@@ -96,7 +96,7 @@ main (int argc, char** argv)
if (etype != ASN1_ETYPE_OCTET_STRING)
{
- fprintf (stderr, "error in %d: The type (%d) doesn't match octet string.\n", __LINE__, etype);
+ fprintf (stderr, "error in %d: The type (%d) doesn't match octet string.\n", __LINE__, (int)etype);
exit (1);
}