Selaa lähdekoodia

Fix warning in AppleTLS

Nils Maier 12 vuotta sitten
vanhempi
commit
6a8fb5744c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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_);
   }
 }