소스 검색

Fix warning in AppleTLS

Nils Maier 12 년 전
부모
커밋
6a8fb5744c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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_);
   }
 }