mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Build Warnings
- Eliminated warnings in TLS code.
This commit is contained in:
parent
39228808eb
commit
adf374eb06
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ void TLSClient::connect (const std::string& host, const std::string& port)
|
|||
if (p == NULL)
|
||||
throw "ERROR: Could not connect to " + host + " " + port;
|
||||
|
||||
gnutls_transport_set_ptr (_session, (gnutls_transport_ptr_t) _socket);
|
||||
gnutls_transport_set_ptr (_session, (gnutls_transport_ptr_t) (long) _socket);
|
||||
|
||||
// Perform the TLS handshake
|
||||
int ret = gnutls_handshake (_session);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue