From 6a8fb5744c52464b837af04066a44794d9f4531a Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Mon, 9 Dec 2013 08:01:08 +0100 Subject: [PATCH] Fix warning in AppleTLS --- src/AppleTLSSession.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AppleTLSSession.cc b/src/AppleTLSSession.cc index 4aeeb5f2..6f1f75aa 100644 --- a/src/AppleTLSSession.cc +++ b/src/AppleTLSSession.cc @@ -649,7 +649,7 @@ std::string AppleTLSSession::getLastErrorString() case errSSLConnectionRefused: return "Connection refused"; default: - return fmt("Unspecified error %d", lastError_); + return fmt("Unspecified error %ld", (long)lastError_); } }