From 4c76b0138d674864461c3c2463192149e6d66eab Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 19 Jan 2017 11:13:48 +0100 Subject: tests: cast to avoid compiler warning --- tests/ocsp-basic-response.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.1