From: Dr. Stephen Henson Date: Fri, 7 Sep 2007 13:34:46 +0000 (+0000) Subject: Fix warning: print format option not compatible with size_t. X-Git-Tag: OpenSSL_0_9_8k^2~716 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d82a612a9058eeb26a79161eac3fb978aa522ce9;p=oweals%2Fopenssl.git Fix warning: print format option not compatible with size_t. --- 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)