提交 d82a612a 编写于 作者: D Dr. Stephen Henson

Fix warning: print format option not compatible with size_t.

上级 e7e8f4b3
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册