Explorar o código

Fix warning in AppleTLS

Nils Maier %!s(int64=12) %!d(string=hai) anos
pai
achega
6a8fb5744c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/AppleTLSSession.cc

+ 1 - 1
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_);
   }
 }