From 0fee489f8428f4c25f3de0ae21cf63c9ef4d1660 Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Sun, 2 Jan 2011 13:28:58 -0800 Subject: [PATCH] stream-ssl: Fix compiler warning. This commit fixes the following compiler warnings: "format '%d' expects type 'int', but argument 4 has type 'size_t'" --- lib/stream-ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stream-ssl.c b/lib/stream-ssl.c index 1fc7446f..6baf88ff 100644 --- a/lib/stream-ssl.c +++ b/lib/stream-ssl.c @@ -1291,7 +1291,7 @@ stream_ssl_set_ca_cert_file__(const char *file_name, bool bootstrap) for (i = 0; i < n_certs; i++) { /* SSL_CTX_add_client_CA makes a copy of the relevant data. */ if (SSL_CTX_add_client_CA(ctx, certs[i]) != 1) { - VLOG_ERR("failed to add client certificate %d from %s: %s", + VLOG_ERR("failed to add client certificate %zu from %s: %s", i, file_name, ERR_error_string(ERR_get_error(), NULL)); } else { -- 2.30.2