diff --git a/flow/MkCert.cpp b/flow/MkCert.cpp index 40e1141fa3..9298162d18 100644 --- a/flow/MkCert.cpp +++ b/flow/MkCert.cpp @@ -52,7 +52,7 @@ public: 0, }; ::ERR_error_string_n(err, buf, sizeof(buf)); - te.detail("OpenSSLError", buf); + te.detail("OpenSSLError", static_cast(buf)); } throw tls_error(); }