summaryrefslogtreecommitdiff
path: root/src/plugins/relay
diff options
context:
space:
mode:
authorstfn <stfnmd@gmail.com>2012-10-18 22:36:52 +0200
committerSebastien Helleu <flashcode@flashtux.org>2012-10-18 22:36:52 +0200
commitc2b26972da8bfc152ac635d74f329a1c48a44a52 (patch)
tree5098cc1335ea2cb055adb7b58386380681759a8b /src/plugins/relay
parented506558e82da74cf9d9ac0bd0ae87ddf822bd8b (diff)
downloadweechat-c2b26972da8bfc152ac635d74f329a1c48a44a52.zip
core: fix gnutls warnings
Diffstat (limited to 'src/plugins/relay')
-rw-r--r--src/plugins/relay/relay-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/relay-client.c b/src/plugins/relay/relay-client.c
index 9bd91f666..aa54c72da 100644
--- a/src/plugins/relay/relay-client.c
+++ b/src/plugins/relay/relay-client.c
@@ -694,7 +694,7 @@ relay_client_new (int sock, const char *address, struct t_relay_server *server)
gnutls_credentials_set (new_client->gnutls_sess, GNUTLS_CRD_CERTIFICATE, relay_gnutls_x509_cred);
gnutls_certificate_server_set_request (new_client->gnutls_sess, GNUTLS_CERT_IGNORE);
gnutls_transport_set_ptr (new_client->gnutls_sess,
- (gnutls_transport_ptr) ((ptrdiff_t) new_client->sock));
+ (gnutls_transport_ptr_t) ((ptrdiff_t) new_client->sock));
ptr_option = weechat_config_get ("weechat.network.gnutls_handshake_timeout");
new_client->hook_timer_handshake = weechat_hook_timer (1000 / 10,
0,