Build Warnings

- Eliminated warnings in TLS code.
This commit is contained in:
Paul Beckingham 2013-05-15 00:44:52 -04:00
parent 39228808eb
commit adf374eb06

View file

@ -156,7 +156,7 @@ void TLSClient::connect (const std::string& host, const std::string& port)
if (p == NULL) if (p == NULL)
throw "ERROR: Could not connect to " + host + " " + port; 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 // Perform the TLS handshake
int ret = gnutls_handshake (_session); int ret = gnutls_handshake (_session);