Procházet zdrojové kódy

Fix warning in AppleTLS

Nils Maier před 12 roky
rodič
revize
6a8fb5744c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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_);
   }
 }