From d82a612a9058eeb26a79161eac3fb978aa522ce9 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Fri, 7 Sep 2007 13:34:46 +0000 Subject: [PATCH] Fix warning: print format option not compatible with size_t. --- apps/s_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/s_server.c b/apps/s_server.c index 279cc55196..328fcaff73 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -317,7 +317,7 @@ static unsigned int psk_server_cb(SSL *ssl, const char *identity, } if (s_debug) BIO_printf(bio_s_out,"identity_len=%d identity=%s\n", - identity ? strlen(identity) : 0, identity); + identity ? (int)strlen(identity) : 0, identity); /* here we could lookup the given identity e.g. from a database */ if (strcmp(identity, psk_identity) != 0) -- 2.25.1