Parcourir la source

Fix warning in AppleTLS

Nils Maier il y a 12 ans
Parent
commit
6a8fb5744c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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_);
   }
 }