mirror of https://github.com/aria2/aria2
Fix warning in AppleTLS
parent
dc757f49b6
commit
6a8fb5744c
|
@ -649,7 +649,7 @@ std::string AppleTLSSession::getLastErrorString()
|
||||||
case errSSLConnectionRefused:
|
case errSSLConnectionRefused:
|
||||||
return "Connection refused";
|
return "Connection refused";
|
||||||
default:
|
default:
|
||||||
return fmt("Unspecified error %d", lastError_);
|
return fmt("Unspecified error %ld", (long)lastError_);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue