浏览代码

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