From e3efa0b72246a85c3cd393014b6046dddfd271f0 Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Fri, 5 Apr 2019 18:10:55 +0200 Subject: crypto: Remove compiler warning on an fprintf in the otp test engine The otp_test_engine is only used in some of the test cases. --- lib/crypto/c_src/otp_test_engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/crypto/c_src/otp_test_engine.c b/lib/crypto/c_src/otp_test_engine.c index 4a155becf8..c3bd9dfb55 100644 --- a/lib/crypto/c_src/otp_test_engine.c +++ b/lib/crypto/c_src/otp_test_engine.c @@ -160,7 +160,7 @@ static int test_engine_md5_update(EVP_MD_CTX *ctx,const void *data, size_t count static int test_engine_md5_final(EVP_MD_CTX *ctx,unsigned char *md) { #ifdef OLD - fprintf(stderr, "MD5 final size of EVP_MD: %lu\r\n", sizeof(EVP_MD)); + fprintf(stderr, "MD5 final size of EVP_MD: %lu\r\n", (unsigned long)sizeof(EVP_MD)); if (!MD5_Final(md, data(ctx))) goto err; -- cgit v1.2.3